Olaf Chitil <[EMAIL PROTECTED]> writes:
> runhugs does not accept any command line arguments (version 970410).
> While many Hugs options do not make sense with runhugs, some do. 
> I am especially missing `-Ppath' for setting the search path. [...]
> [..]
> Currently I write a little shell script which sets the environment
> variable HUGSFLAGS (which is taken into account by runhugs) for every
> standalone Haskell program.
> Also the `set heap size option' could probably be useful for runhugs.

I think you're right.  GHC allows you to specify flags for the runtime
system using something like this:

  wc -RTS -H10k +RTS -al *.c

The "-RTS ... +RTS" stuff is seen by the runtime system and the "-al
*.c" stuff is seen by calls to "System.getArgs".

Sadly, we're kinda busy here at the moment - so I don't see much
chance of this change making it into the next release (unless someone
contributes some code...).  Maybe by the end of the summer?

--
Alastair Reid              Yale Haskell Project Hacker
[EMAIL PROTECTED]  http://WWW.CS.Yale.EDU/homes/reid-alastair/

Reply via email to