[Haskell-cafe] GHC ignores RTS options
Simon Marlow
simonmar at microsoft.com
Wed Nov 16 08:09:07 EST 2005
On 16 November 2005 08:12, Tomasz Zielonka wrote:
> On Wed, Nov 16, 2005 at 08:53:18AM +0100, Dusan Kolar wrote:
>> I wonder whether anybody could advise me how to pass
>> correctly RTS options to ghc? I've tried
>
> You have to pass these options to the program, not
> to GHC.
>
> BTW - it would be nice if it was easier to override the default RTS
> options when compiling the program. Perhaps a nice task for a newbie
> GHC developer?
Already possible, see:
http://www.haskell.org/ghc/docs/latest/html/users_guide/runtime-control.
html#rts-hooks
Admittedly it's a bit more fiddly than a command-line flag to GHC,
though.
Cheers,
Simon
More information about the Haskell-Cafe
mailing list