Changes between Version 10 and Version 11 of Building/Hacking


Ignore:
Timestamp:
Oct 6, 2006 10:10:25 AM (8 years ago)
Author:
simonmar
Comment:

add comment to build.mk, and add -W option

Legend:

Unmodified
Added
Removed
Modified
  • Building/Hacking

    v10 v11  
    4242 
    4343{{{ 
     44# My build settings for hacking on stage 1  
    4445SRC_HC_OPTS     = -H32m -O -fasm -Rghc-timing 
    45 GhcStage1HcOpts = -O0 -DDEBUG 
     46GhcStage1HcOpts = -O0 -DDEBUG -W 
    4647GhcLibHcOpts    = -O -fgenerics 
    4748GhcLibWays      = 
     
    5657  time at the expense of a few percent performance.  {{{-Rghc-timing}}} 
    5758  prints out a line of timing info about each compilation.  It's handy 
    58   to keep an eye on. 
     59  to keep an eye on.  {{{-W}}} turns on some warnings; you probably want 
     60  to tweak exactly which warnings are turned on, since GHC isn't 
     61  very warning-clean with `-W`. 
    5962 
    6063 {{{GhcStage1HcOpts = -O0 -DDEBUG}}}::