2 Using the GHC build system
3 --------------------------
5 For a "Getting Started" guide, see:
7 http://hackage.haskell.org/trac/ghc/wiki/Building/Hacking
13 Builds everything: ghc stages 1 and 2, all libraries and tools.
17 Parallel build: runs up to 2 commands at a time (use the number of
18 CPUs in your machine in place of '2')
22 Builds everything in the given directory.
26 Make just the stage2 compiler, ignoring dependencies. Also "make 1" to
27 build just the stage1 compiler.
31 Build just those libraries that are built by stage1 (omit the "1" to build
32 all libraries, but that will also update the stage2 compiler).
42 Installs GHC, libraries and tools under $(prefix)
47 Builds a source or binary distribution respectively
51 Displays the value of make variable <var>
57 Various levels of cleaning: "clean" restores the tree to the
58 state after "./configure", "distclean" restores to the state
59 after "sh boot", and maintainer-clean restores the tree to the
60 completely clean checked-out state.