Changes between Version 19 and Version 20 of Building/Using


Ignore:
Timestamp:
Mar 31, 2009 10:09:00 AM (5 years ago)
Author:
simonmar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/Using

    v19 v20  
    109109 
    110110 `--build=<platform>`:: 
    111   Specifies the "build platform" (see [wiki:Building/Architecture#Idiom:platformnames platform names]). 
     111  Specifies the "build platform" (see [wiki:Building/Architecture/Idiom/PlatformNames platform names]). 
    112112  This is usually only necessary on Windows, where you should set it 
    113113  to `--build=i386-unknown-mingw32`. 
    114114 
    115115 `--host=<platform>`:: 
    116   Set the "host platform" (see [wiki:Building/Architecture#Idiom:platformnames platform names]). 
     116  Set the "host platform" (see [wiki:Building/Architecture/Idiom/PlatformNames platform names]). 
    117117  Usually not necessary. 
    118118 
    119119 `--target=<platform>`:: 
    120   Set the "target platform" (see [wiki:Building/Architecture#Idiom:platformnames platform names]). 
     120  Set the "target platform" (see [wiki:Building/Architecture/Idiom/PlatformNames platform names]). 
    121121  Usually not necessary. 
    122122 
     
    187187  (default: `-Rghc-timing`)[[br]] 
    188188  Options added when compiling GHC (all 
    189   [wiki:Building/Architecture#Idiom:stages stages]) 
     189  [wiki:Building/Architecture/Idiom/Stages stages]) 
    190190 
    191191 `GhcStage1HcOpts`:: 
     
    216216  (default: `p`)[[br]] 
    217217  Ways in which to build the libraries.  Must contain 
    218   at least `v` ([wiki:Building/Architecture#Idiom:thevanillaway the vanilla way]).  Also contains `p` by default (profiling).  For other 
     218  at least `v` ([wiki:Building/Architecture/Idiom/VanillaWay the vanilla way]).  Also contains `p` by default (profiling).  For other 
    219219  ways, see `mk/config.mk.in`. 
    220220 
     
    335335 * Then we build GHC against these packages, still using your 
    336336   installed GHC.  This is called the "stage 1" compiler (see 
    337    [wiki:Building/Architecture#Idiom:stages stages]).  You can run the 
     337   [wiki:Building/Architecture/Idiom/Stages stages]).  You can run the 
    338338   stage 1 compiler by invoking `inplace/bin/ghc-stage1`.  The stage 1 
    339339   build of GHC happens in `compiler/stage1`. 
     
    420420 
    421421Each subdirectory of the source tree has a 
    422 [wiki:Building/Architecture#Idiom:stubmakefiles stub makefile], 
     422[wiki:Building/Architecture/Idiom/StubMakefiles stub makefile], 
    423423most of which follow this pattern: 
    424424 
     
    431431the main purpose of the stub makefile is to invoke `make` at the 
    432432top-level of the tree: GHC's build system is 
    433 [wiki:Building/Architecture#Idiom:non-recursivemake non-recursive], so 
     433[wiki:Building/Architecture/Idiom/NonRecursiveMake non-recursive], so 
    434434in effect there is really just one `Makefile`, at the top level. 
    435435However, the stub makefile has another purpose: it passes a target to 
     
    446446everything in the `libraries/base` subdirectory.  To understand how 
    447447the `all` targets are defined, see 
    448 [wiki:Building/Architecture#Idiom:standardtargetsallcleanetc. standard targets]. 
     448[wiki:Building/Architecture/Idiom/StandardTargets standard targets]. 
    449449 
    450450You can also clean a single component of the tree, just by saying