Osman Buyukisik <[EMAIL PROTECTED]> writes:
> I have obtained ghc 3.0 . I had 2.10. "make all" took >8 hrs! (P120-32MB-linux-2
> .0.30-gcc-2.7.2.3.f.1). It failed during making of hslibs/contrib. Needed
> -H8000000 to compile not enough heap space. Which file can I edit so "make all"
> works? I just changed Makefile so that it does not make "contrib", and did a
> make install. Am I missing something??
I am in the same pitfall.
Simon Marlow <[EMAIL PROTECTED]> writes
If a particular compilation runs out heap/stack, you can add a line to
the Makefile:
<modulde>_HC_OPTS = -H8m
where <module> is the module name that failed (without the .lhs). If
you have plenty memory and want to run a build overnight, you can set
a global heap size in build.mk, something like
GhcLibHcOpts += -H24m
for the libraries, or GhcHcOpts for the compiler.
I have set GhcLibHcOpts += -H24m in mk/build.mk
Still `make all' compiles .../src/SetMap.hs with the default -H6m.
Then i add also
SetMap_HC_OPTS = -H16m
to $(..._TOP)/Makefile,
$(..._TOP)/hslibs/contrib/Makefile
Nothing helps.
------------------
Sergey Mechveliani
[EMAIL PROTECTED]