[nhc-users] Setting the heap size at ct
Ralf Hinze
ralf@informatik.uni-bonn.de
Thu, 1 Nov 2001 11:52:04 +0100
Am Donnerstag, 1. November 2001 11:07 schrieb Olaf Chitil:
> Hi Ralf,
>
> > is there any way to specify the heap size (that is, to increase
> > the default) of an executable at *compile time*?
>
> Sure, e.g. -H10m sets the heap size of an executable to 10 MB.
> (+RTS -H10m -RTS sets the heap size of the *compiler* to 10 MB).
>
> Olaf
Thanks. This does not work with hmake, however,
hmake -nhc98 -98 -H32M -ILib -PLib Main
nhc98 +RTS -H32M -RTS -98 -ILib -PLib -c -o Lib/Prettier.o Lib/Prettier.lhs
It encloses the -H32M option in RTS brackets. Is there
a way around?
Cheers, Ralf