diff options
| author | simonm <unknown> | 1999-04-26 09:39:21 +0000 |
|---|---|---|
| committer | simonm <unknown> | 1999-04-26 09:39:21 +0000 |
| commit | 3ee9bf03d1d7289869b178f81c793cf422d04152 (patch) | |
| tree | 286becdb3d0e3ad55e461a0bd1504a156e032c79 | |
| parent | 18dcf7758b1dd0b87c24ba829ecd32d35b8924cf (diff) | |
| download | haskell-3ee9bf03d1d7289869b178f81c793cf422d04152.tar.gz | |
[project @ 1999-04-26 09:39:21 by simonm]
Add note about needing -optCrts before RTS options for the compiler itself.
| -rw-r--r-- | ghc/docs/users_guide/runtime_control.vsgml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ghc/docs/users_guide/runtime_control.vsgml b/ghc/docs/users_guide/runtime_control.vsgml index 50d2745920..baea188e01 100644 --- a/ghc/docs/users_guide/runtime_control.vsgml +++ b/ghc/docs/users_guide/runtime_control.vsgml @@ -48,6 +48,12 @@ Giving a @+RTS -f@<nidx>-f RTS option</nidx> option will print out the RTS options actually available in your program (which vary, depending on how you compiled). +NOTE: to send RTS options to the compiler itself, you need to prefix +the option with @-optCrts@, eg. to increase the maximum heap size for +a compilation to 128M, you would add @-optCrts-M128m@ to the command +line. The compiler understands some options directly without needing +@-optCrts@: these are @-H@ and @-K@. + %************************************************************************ %* * <sect2>RTS options to control the garbage-collector |
