Revision d6b5da24 doc/devnotes.rst

b/doc/devnotes.rst
127 127

  
128 128
  $ make HEXTRA="-ddump-splices"
129 129

  
130
To build profiling code you must install the ``ghc-prof`` (or
131
``gch6-prof``) package, and all the relevant libraries with their
132
``-prof`` counterparts. If installing libraries through cabal the config
133
file should include ``library-profiling: True`` or the ``-p`` flag
134
should be used. Any library already installed can be updated by passing
135
``--reinstall`` as well.
136

  
130 137
Due to the way TemplateHaskell works, it's not straightforward to
131 138
build profiling code. The recommended way is to run ``make hs-prof``,
132 139
or alternatively the manual sequence is::

Also available in: Unified diff