
On 13 July 2005 08:18, Dinko Tenev wrote:
On 7/13/05, John Skaller
wrote: I guess I'll have to switch to version 2.95.2 as suggested by the guide (I am currently using 3.3.5,)
I think you need more RAM. I had to buy a new computer to fix this problem.
Oh my, that hurts...quite an expensive piece of software, GHC ;) But this really explains a lot, because two identical builds of mine happened to die on different files - it never occurred to me GCC could run low on memory though...
How about more swap, provided I would let it run overnight?
You should be able to use the native code generator to build GHC, which will compile a lot faster and use less memory. The GHC binary it produces may be slightly slower, however (on x86). To do this, create a file mk/build.mk in your build tree, containing the line: SRC_HC_OPTS = -H32m -O -fasm Cheers, Simon