I'm trying to build the latest version of GHC, from CVS, and everything goes
fine until it gets to the file Parser.hs. At this point, it gets stuck on this
file for a couple of hours, then quits with either an "out of memory" message
or the message "Haskell compiler received signal 9". I've tried
> I get the following compile error:
>
> (My configuration is Linux kernel 2.4.0-test1, gcc 2.91.66 and
> ghc 4.06 installed)
I suggest upgrading your gcc; we use 2.95.2 here without any problems.
Alternatively, a workaround for the short term is this patch to
fptools/ghc/driver/ghc-asm.lprl:
I get the following compile error:
(My configuration is Linux kernel 2.4.0-test1, gcc 2.91.66 and
ghc 4.06 installed)
PWD = /home/gemi/fptools/ghc/lib/std
rm -f PrelBase.o ; if [ ! -d PrelBase ]; then mkdir PrelBase; else