RE: Unregistered build (was Re: AMD64)

2004-06-17 Thread Gerd M
Simon Marlow wrote: This one looks like a failure from GCC, not GHC. If possible, you should send a bug report to the GCC folks or Gentoo as requested. You could try using a different version of GCC to work around the problem. Unfortunately I've only got one gcc version installed at the moment and

RE: Unregistered build (was Re: AMD64)

2004-06-17 Thread Gerd M
* [boot] Error 1 make[1]: Leaving directory `ghc-test2/ghc-6.2.20040613/ghc' make: *** [build] Error 1 Simon Marlow wrote: On 16 June 2004 13:19, Gerd M wrote: > Simon Marlow wrote: >> It looks like HC bootstrapping is enabled in this tree; it shouldn't >> be. Just use a compl

RE: Unregistered build (was Re: AMD64)

2004-06-16 Thread Gerd M
Simon Marlow wrote: It looks like HC bootstrapping is enabled in this tree; it shouldn't be. Just use a completely fresh source tree, don't configure with --enable-hc-boot, and don't unpack any HC files into it. If I use a fresh source tree without HCs then I need the unregistered build to compile

RE: Unregistered build (was Re: AMD64)

2004-06-16 Thread Gerd M
Simon Marlow wrote: After hc-build, you should unpack a completely fresh GHC source tree, somewhere else. Then 'cd' into this tree, and issue the configure/make commands. I tried this and got as far as: ==fptools== make all -

Re: Unregistered build (was Re: AMD64)

2004-06-14 Thread Gerd M
This was causing the error: version = tail "\ \ GHC_PKG_VERSION" However, when i moved it all in one line it worked and i got as far as this but i think that's the end of the line for now: ==fptools== make boot -wr; in ghc

Re: Unregistered build (was Re: AMD64)

2004-06-14 Thread Gerd M
Well I just tried it and that's what happened: ==fptools== make boot - --no-print-directory -r; in ghc-6.2.1/ghc/utils/ghc-pkg ghc-test/usr/bin/ghc -M -o

Re: IO question (hGetLine)

2004-06-14 Thread Gerd M
Duncan Coutts wrote: The GHC run time system is designed to block without using CPU when all threads are blocked doing IO. Could you give more details? It would be useful to see the code or preferably a small test case that demonstrates your problem. What version of ghc are you using? Which OS are

IO question (hGetLine)

2004-06-13 Thread Gerd M
I've written a Haskell program that reads continuously from a character device that provides data line by line and blocks the reader when there's no data available yet. At the moment performance isn't a real issue so I thought I would give hGetLine a try. Unfortunately the program is consuming a

Executing external program

2004-06-06 Thread Gerd M
Is there a simple way to execute a different process from a Haskell program, waiting for it's termination and then continuing with the next IO action? Or does one have to use the forkIO & waiting for the child process - stuff? regards _