[Haskell] GHC: Setting default +RTS options at compile time?

Simon Marlow simonmar at microsoft.com
Wed May 4 04:48:24 EDT 2005


[ replying to old mail which ended up in my spam folder... ]

On 18 March 2005 17:00, Simon Peyton-Jones wrote:

>> Is there any way to specify at compile/link time default options for
>> GHC program +RTS options?
> 
> No.  This is a long-standing feature request.  It makes perfect sense,
> but needs someone to design and implement it.  So far not enough
> people have yelled loudly enough for us to do it.  Any volunteers?

But there *is* a way to do this, and it's documented:

http://www.haskell.org/ghc/docs/latest/html/users_guide/runtime-control.
html#rts-hooks

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list