Changes between Version 21 and Version 22 of Building/Hacking
- Timestamp:
- 08/17/08 04:21:04 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Building/Hacking
v21 v22 41 41 # My build settings for hacking on stage 1 42 42 SRC_HC_OPTS = -H32m -O -fasm -Rghc-timing 43 GhcStage1HcOpts = -O0 -DDEBUG -W 43 GhcStage1HcOpts = -O0 -DDEBUG -Wall 44 44 GhcLibHcOpts = -O -fgenerics 45 45 GhcLibWays = … … 52 52 {{{SRC_HC_OPTS = -H32m -O -fasm -Rghc-timing}}}:: 53 53 These options are added to the command line for all Haskell 54 compilations. We turn on {{{-fasm}}}, because that halves compilation55 time at the expense of a few percent performance. {{{-Rghc-timing}}}54 compilations. We turn on `-fasm`, because that halves compilation 55 time at the expense of a few percent performance. `-Rghc-timing` 56 56 prints out a line of timing info about each compilation. It's handy 57 to keep an eye on. {{{-W}}} turns on some warnings; you probably want 58 to tweak exactly which warnings are turned on, since GHC isn't 59 very warning-clean with `-W`. 57 to keep an eye on. `-Wall` turns on all the warnings; GHC is 58 meant to be warning-clean with `-Wall`. 60 59 61 60 {{{GhcStage1HcOpts = -O0 -DDEBUG}}}::
