Changes between Version 54 and Version 55 of Building/Using


Ignore:
Timestamp:
Apr 22, 2011 1:31:18 AM (3 years ago)
Author:
megacz
Comment:

explain that "cd ghc" takes you deeper into the source tree, not into the source tree in the first place.

Legend:

Unmodified
Added
Removed
Modified
  • Building/Using

    v54 v55  
    501501}}} 
    502502 
     503Note that the first command above takes you to the {{{ghc}}} subdirectory of the source tree, not into the source tree (which is also named {{{ghc}}} if you did a {{{git clone}}}).  So if you did a {{{git clone}}} from your home directory, you'll be in {{{~/ghc/ghc/}}}, not {{{~/ghc/}}}.  Many of the compiler-building {{{make}}} invocations must be performed from this subdirectory, not from the root of the source tree. 
     504 
    503505This will bring the stage 2 compiler up to date only.  Setting `stage=2` has the effect of disabling all the 
    504506rules that build the stage 1 compiler, so the build system will ignore the fact that the stage 1 compiler is also out of date, and hence all the libraries are also potentially out of date.  If you did `make`