> Ah-hah! So I should just be able to write, in rts.c:
>
> #include "Rts.h"
> void defaultsHook (void) {
> RTSflags.GcFlags.stksSize = 1000002 / sizeof(W_);
> RTSflags.GcFlags.heapSize = 8000002 / sizeof(W_);
> }
Well, sort of. I forgot to mention that we changed RTSFlags to RtsFlags,
and that you'll need to #include "RtsFlags.h" which you can find in ghc/rts/
in the source tree, *not* in a binary distribution - you might have to copy
it into your source directory.
A clean up of the external RTS interface will be forthcoming, no doubt.
Cheers,
Simon
--
Simon Marlow
Microsoft Research Ltd., Cambridge, U.K.