Changes between Version 1 and Version 2 of Building/GettingTheSources


Ignore:
Timestamp:
Sep 11, 2006 1:21:38 PM (8 years ago)
Author:
simonmar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/GettingTheSources

    v1 v2  
    11 
    22 
    3 === Getting a GHC source tree === 
     3= Getting the GHC Sources = 
     4 
     5There are two ways to get sources to GHC: download a source distribution, or get the sources directly from our repository using [http://darcs.net/ darcs]. 
     6 
     7== Source distributions == 
     8 
     9A source distribution is a file like {{{ghc-6.6-src.tar.bz2}}}, which contains a complete snapshot of the source tree for a particular version of GHC.  Source distributions for all versions of GHC are available from the [http://www.haskell.org/ghc/download.html download page]. 
     10 
     11Starting with GHC 6.6, we have split the source distribution in two: 
     12 
     13 * {{{ghc-<version>-src.tar.bz2}}} contains GHC itself and the minimum libraries needed to bootstrap GHC. 
     14 * {{{ghc-<version>-extralibs.tar.bz2}}} contains a selection of supplemental libraries that can be built 
     15   and installed at the same time as GHC.  Just unpack this on top of {{{ghc-<version>-src.tar.bz2}}}, and 
     16   the extra libraries will be built automatically. 
     17 
     18In addition to fixed releases of GHC, source distributions are also made each night from the current source repository, for both the HEAD and STABLE branches.  To download these snapshots, head over to the [http://www.haskell.org/ghc/download.html download page]. 
     19 
     20Source distributions are easier to build, because we also include the output from running certain external tools like [http://haskell.oirg/happy Happy], so you don't need to install these tools.  See [wiki:Building/Prerequisites] for details. 
     21 
     22== Getting a GHC source tree using darcs == 
    423 
    524The first thing to do is install [http://darcs.net/ darcs].