#4826: RTS flag documentation
---------------------------------+------------------------------------------
Reporter: Orphi | Owner: Orphi
Type: bug | Status: patch
Priority: normal | Component: Documentation
Version: 7.0.1 | Keywords:
Testcase: | Blockedby:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Changes (by Orphi):
* status: new => patch
Comment:
I've made some updates to the User Guide. (I've put most of it into
separate patches, so you can accept or reject them individually if you
want.)
This -rtsopts stuff is more complicated than you'd think, since there are
actually ''two'' ways to set RTS options - the command line and the
environment variable. The User Guide was mostly silent about what happens
to the latter. The documentation also didn't say exactly what happens when
you try to set a disallowed RTS option. (It turns out that from the
environment variable it's a non-fatal warning, but from the command-line
it's a fatal error.)
I spent my afternoon reverse-engineering exactly what GHC does, and
thoroughly documenting it all in section 4.11.6 of the User Guide.
Hopefully you will agree this is an improvement.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4826#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs