Changes between Version 1 and Version 2 of Building/DebuggingGHC


Ignore:
Timestamp:
Aug 20, 2009 1:43:00 PM (6 years ago)
Author:
simonpj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/DebuggingGHC

    v1 v2  
    55== Consistency checking flags ==
    66
    7 At compile time:
     7At compile time (see also the [http://www.haskell.org/ghc/docs/latest/html/users_guide/options-debugging.html relevant User Manual section]):
    88
    99 * Add `-dcore-lint` the GHC command line when compiling each Haskell module.  This makes GHC type-check the intermediate program after every optimisation pass, which often nails a fault.
     
    1717 * Add `-debug` to the GHC command line when linking. This links the program against a special version of the runtime system that does lots of extra internal consistency checking.  Overall performance is significantly reduced.  '''Simon: any flags?'''
    1818
    19 At run time
     19At run time (see also the [http://www.haskell.org/ghc/docs/latest/html/users_guide/runtime-control.html#rts-options-debugging  relevant User Manual section]):
    2020  * Use `+RTS -sstderr` or `+RTS -Sstderr` to watch garbage collection activity.
    2121