Giuliano wrote:
> On Wed, May 19, 1999 at 10:16:54AM +0200, Thomas Pasch wrote:
>
> > I tried to compile 4.02 from sources on a ix86-linux-glibc2.1
> > machine and found that this is simply impossible.
>
> > But when it cames to compile ParselFace.hs in ghc/compiler/rename
> > the Heap was exhausted.
>
> One solution is to add "GhcHcOpts = -optCrts-M100m" to mk/build.mk
This is probably rather excessive, since the option will be set for
every single file in the compiler.  My build.mk file contains the lines:

> # Magic for the obscene amount of memory we need to compile the parser.
> rename/ParseIface_HC_OPTS += -H80m -optCrts-M90m

which seems to do the trick, on sparc-solaris anyway.  Perhaps they
should be added to the GHC distribution?

Reply via email to