diff options
| -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 |
