Changes between Version 68 and Version 69 of Building/Using


Ignore:
Timestamp:
Dec 18, 2012 2:15:20 PM (16 months ago)
Author:
simonmar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/Using

    v68 v69  
    4646{{{mkshadowdir}}} are two (If you don't have either, the GHC source 
    4747tree contains sources for the X11 {{{lndir}}} check out 
    48 {{{utils/lndir}}}). 
    49  
    50 You need to be a bit careful, though, that any new files you create 
     48{{{utils/lndir}}}).  To create a separate build tree, the typical sequence is something like this: 
     49 
     50{{{ 
     51  $ mkdir ghc-build 
     52  $ cd ghc-build 
     53  $ lndir <source> 
     54  $ ln -s <source>/.git . 
     55}}} 
     56 
     57Where `<source>` is the directory containing your source tree.  Note the last step: GHC's `configure` script likes to see the `.git` directory, and by default `lndir` will not link `.git` directories.  Things will still work if you omit this step, but the GHC version number for your build won't contain the date (i.e. it will be "7.7" instead of something like "7.7.20121218"). 
     58 
     59You need to be a bit careful when using a build tree, that any new files you create 
    5160(if you do any development work) are in the source tree, not the build 
    52 tree! 
     61tree!  This is especially easy to mess up when creating new tests, so watch out. 
    5362 
    5463== Booting, configuring, cleaning ==