[Document the new RTS linker flags Ian Lynagh **20100314140847] { hunk ./docs/users_guide/flags.xml 1821 + + + Allow the RTS behaviour to be tweaked via command-line + flags and the GHCRTS environment + variable. + dynamic + - + + + + Set the default RTS options to + opts. + dynamic + - + hunk ./docs/users_guide/runtime_control.xml 13 - You have some control over the behaviour of the RTS, by giving + If you use the -rtsopts flag when linking, + you have some control over the behaviour of the RTS, by giving hunk ./docs/users_guide/runtime_control.xml 72 - RTS options are also taken from the environment variable + When the -rtsopts flag is used when linking, + RTS options are also taken from the environment variable hunk ./docs/users_guide/runtime_control.xml 1048 + + + + Linker flags to change RTS behaviour + + RTS behaviour, changing + + + GHC lets you exercise rudimentary control over the RTS settings + for any given program, by using the -with-rtsopts + linker flag. For example, to set -H128m -K1m, + link with -with-rtsopts="-H128m -K1m". + + }