Trying to compile ghc-4.02-src (patch level 1)
with its own binary ghc-4.02-i386-linux...
yields
...
ghc -cpp -fglasgow-exts -Rghc-timing -I. -IcodeGen -InativeGen -Iparser
-iutils:basicTypes:types:...:nativeGen -recomp -Onot -H45m
-fno-warn-incomplete-patterns -H68m
-c rename/ParseIface.hs -o rename/ParseIface.o -osuf o
ghc: ignoring heap-size-setting option (-H45m)...not the largest seen
hsc: fatal error: Suggested heap size (-H<size>) is larger than max.
heap size (-M<size>)
This is, probably, because i set ...= -H80m in mk/build.mk
But when i set the smaller number or remove this line at all, then
it says
...
ghc -cpp ... -Onot -H45m ... -c rename/ParseIface.hs -o
rename/ParseIface.o -osuf o
... heap exhausted ...
Looks like something simple, but i cannot guess ...
Also, what about ... = -O in mk/build.mk ?
------------------
Sergey Mechveliani
[EMAIL PROTECTED]