X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fusers_guide%2Fruntime_control.xml;h=22ca59dcd25b1b1f0551bc427d8c00828b69072c;hb=4df9f0ee56ae232e1cf2f9531205af0dd916b496;hp=0e13f0e933154c02798762dbb52321bcf0276afc;hpb=f30d527344db528618f64a25250a3be557d9f287;p=ghc-hetmet.git
diff --git a/docs/users_guide/runtime_control.xml b/docs/users_guide/runtime_control.xml
index 0e13f0e..22ca59d 100644
--- a/docs/users_guide/runtime_control.xml
+++ b/docs/users_guide/runtime_control.xml
@@ -10,7 +10,7 @@
code and then links it with a non-trivial runtime system (RTS),
which handles storage management, profiling, etc.
- If you use the -rtsopts flag when linking,
+ If you set the -rtsopts flag appropriately when linking,
you have some control over the behaviour of the RTS, by giving
special command-line arguments to your program.
@@ -49,8 +49,8 @@
wraparound in the counters is your
fault!)
- Giving a +RTS -f
- RTS option option
+ Giving a +RTS -?
+ RTS option option
will print out the RTS options actually available in your program
(which vary, depending on how you compiled).
@@ -69,7 +69,8 @@
environment variablefor
setting RTS options
- When the -rtsopts flag is used when linking,
+ If the -rtsopts flag is set to
+ something other than none when linking,
RTS options are also taken from the environment variable
GHCRTSGHCRTS. For example, to set the maximum heap size
@@ -1160,7 +1161,8 @@
The hook ghc_rts_optsghc_rts_optslets you set RTS
- options permanently for a given program. A common use for this is
+ options permanently for a given program, in the same way as the
+ newer linker option does. A common use for this is
to give your program a default heap and/or stack size that is
greater than the default. For example, to set -H128m
-K1m, place the following definition in a C source