> 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?
Well, the fact that we have to keep adding this helps to remind us that
there's a bug to be fixed (plus the fact it's in my ToDo list and on the
whiteboard in fairly big letters :-)
Anyway, adding -dcore-lint is a generally good idea, and if you use the
latest happy from the CVS repository it has some NOINLINE pragmas which
bring the residency when compiling ParseIface.hs down to a perfectly
respectable 16M or thereabouts. Now, the happy parser I'm working on for
GHC is a different matter...
Cheers,
Simon