Re: "simple" GHC compiling issues

2000-06-21 Thread Manuel M. T. Chakravarty
Stephen Alden Elliott <[EMAIL PROTECTED]> wrote, > However, they all depend on many many other files. Can anyone give tell > me how to set up the make file to do the appropriate compiling > procedure? Or point me to a resource that will teach me how to use > makefiles with GHC? Thanks! htt

"simple" GHC compiling issues

2000-06-21 Thread Stephen Alden Elliott
I have never used GHC (and am new to Linux as well, what a recipe for disaster) before and am very confused about how to set up dependencies properly and how to configure the make file (I know a little about mkdependHS). I would like to compile a bunch of haskell files: FishAll.hs FishDefau

RE: Portable C code

2000-06-21 Thread Simon Marlow
> Wed, 24 May 2000 08:15:24 -0700, Julian Seward (Intl Vendor) > <[EMAIL PROTECTED]> pisze: > > > GHC can produce C code which you can compile with gcc, without > > special support -- we call this "unregisterised" code. This code > > needs some GNU extensions -- named initialisers, zero length

Re: Can't catch exception in socket communication

2000-06-21 Thread Marcin 'Qrczak' Kowalczyk
Wed, 21 Jun 2000 02:00:09 -0700, Simon Marlow <[EMAIL PROTECTED]> pisze: > > installHandler sigPIPE Ignore Nothing > > > > That seems to be enough. > > That's it. This one caught me too! But it's standard behaviour, > so I think we should leave it in place. Adding a note in the documentation

Re: Portable C code

2000-06-21 Thread Marcin 'Qrczak' Kowalczyk
Wed, 24 May 2000 08:15:24 -0700, Julian Seward (Intl Vendor) <[EMAIL PROTECTED]> pisze: > GHC can produce C code which you can compile with gcc, without > special support -- we call this "unregisterised" code. This code > needs some GNU extensions -- named initialisers, zero length arrays > and

RE: Can't catch exception in socket communication

2000-06-21 Thread Simon Marlow
> Ok, ok, sorry. > I found a solution ;-) > > installHandler sigPIPE Ignore Nothing > > That seems to be enough. That's it. This one caught me too! But it's standard behaviour, so I think we should leave it in place. Cheers, Simon

Re: Portable C code

2000-06-21 Thread Hannah Schroeter
Hello! On Wed, May 24, 2000 at 08:15:24AM -0700, Julian Seward (Intl Vendor) wrote: > | Anybody knows how to generate a portable C code through GHC ? > It depends what you mean by portable. > GHC can produce C code which you can compile with gcc, without > special support -- we call this "un