RE: [Haskell-cafe] GHC ignores RTS options

2005-11-16 Thread Simon Marlow
On 16 November 2005 13:24, Tomasz Zielonka wrote: > On Wed, Nov 16, 2005 at 01:09:07PM -, Simon Marlow wrote: >>> 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 possi

Re: [Haskell-cafe] GHC ignores RTS options

2005-11-16 Thread Tomasz Zielonka
On Wed, Nov 16, 2005 at 01:09:07PM -, Simon Marlow wrote: > > 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/h

RE: [Haskell-cafe] GHC ignores RTS options

2005-11-16 Thread Simon Marlow
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 woul

Re: [Haskell-cafe] GHC ignores RTS options

2005-11-16 Thread Tomasz Zielonka
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 wh

[Haskell-cafe] GHC ignores RTS options

2005-11-15 Thread Dusan Kolar
Hello, I wonder whether anybody could advise me how to pass correctly RTS options to ghc? I've tried ghc +RTS -K4M --RTS -O program.hs -o aO.out ghc +RTS -K4M -RTS -O program.hs -o aO.out ghc -O program.hs -o aO.out +RTS -K4M ghc -O program.hs +RTS -K4M --RTS -o aO.out and many others, wit