RE: Run-time options in ghc on Linux

2003-01-06 Thread Simon Marlow

 Ok, 
 $ cat null.hs 
 module Main(main) where 
 main = return () 
 $ ghc null.hs -o null 
 $ ./null +RTS -? 
 $ 

Is your GHCRTS environment variable set to anything?

Cheers,
Simon
___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users



RE: Run-time options in ghc on Linux

2002-12-20 Thread Simon Marlow

 The +RTS options don't seem to be working for me on Linux 
 (Redhat 7.2, ghc 5.04 and 5.04.1 installed via the .rpms).  
 
 One of my programs will happily consume all available memory, 
 even though I have +RTS -M64M, and another program fails with
 
 Stack space overflow: current size 1048576 bytes.
 Use `+RTS -Ksize' to increase it.
 
 even though I'm using +RTS -K10M.

Well, it works here...  if you say +RTS -? does it print the help
text?  Could you post the exact command lines you're using to
compile/link the program, and the command line used to run it?

Cheers,
Simon
___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users



Run-time options in ghc on Linux

2002-12-19 Thread Garner, Robin



The +RTS options 
don't seem to be working for me on Linux (Redhat 7.2, ghc 5.04 and 
5.04.1installed viathe .rpms). 

One of my programs 
will happily consume all available memory, even though I have +RTS -M64M, and 
another program fails with

Stack space overflow: 
current size 1048576 bytes.Use `+RTS -Ksize' to increase 
it.
even though I'm using 
+RTS -K10M.

Anysuggestions 
?