Thu, 1 Jul 1999 06:15:11 -0700, Simon Marlow <[EMAIL PROTECTED]> pisze:

> What problem are you having getting ghc-4.02 to compile?

[...]
------------------------------------------------------------------------
===fptools== Recursively making `all' in std exts concurrent misc posix ...
PWD = /qrnik2/part/BUILD/fptools/ghc/lib
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make all --no-print-directory -r;
 in /qrnik2/part/BUILD/fptools/ghc/lib/std
------------------------------------------------------------------------
rm -f PrelBase.o ; if [ ! -d PrelBase ]; then mkdir PrelBase; else find PrelBase -name 
'*.o' -print | xargs rm -f __rm_food ; fi ;    
../../../ghc/driver/ghc -recomp -cpp -fglasgow-exts -fvia-C -Rghc-timing -O 
-split-objs -odir PrelBase  -H10m -optCrts-M128M -c PrelBase.lhs -o PrelBase.o -osuf o
make[3]: *** [PrelBase.o] Error 1
make[2]: *** [all] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 1

../../../ghc/driver/ghc after some work simply exits with status 1.
When I run ghc instead (from $PATH) in this place with those arguments,
it exited with status 0, but did not create PrelBase.o either.

I had to add -optCrts=128M, according to docs, because otherwise it
failed earlier with heap overflow. Thus compiling ghc uses over 70MB
of memory. I have only 32MB of physical memory, so it swaps a lot
and takes about half a day until it fails.

(I also couldn't boot from .hc files, but it was 45 days ago and
I don't remember the details now; maybe I did something wrong.
I could not compile happy, but also I don't remember the details.
Maybe I will try again later.)

-- 
 __("<    Marcin Kowalczyk * [EMAIL PROTECTED] http://kki.net.pl/qrczak/
 \__/          GCS/M d- s+:-- a22 C+++>+++$ UL++>++++$ P+++ L++>++++$ E-
  ^^                W++ N+++ o? K? w(---) O? M- V? PS-- PE++ Y? PGP->+ t
QRCZAK                  5? X- R tv-- b+>++ DI D- G+ e>++++ h! r--%>++ y-

Reply via email to