From 383e71451b12d29a9b0d63fe37ce8bb7ffa87a8b Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Mon, 12 Oct 2009 09:43:25 +0000 Subject: [PATCH] Update the README instructions for getting the source --- README | 41 ++++++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/README b/README index c31549d..44df7ec 100644 --- a/README +++ b/README @@ -21,27 +21,32 @@ There are two ways to get a source tree: 1. Download source tarballs --------------------------- - The GHC source distribution comes in two parts: + Download the GHC source distribution: ghc--src.tar.bz2 - ghc--src-extralibs.tar.bz2 - You only need the first one, which contains GHC itself and - the "boot" libraries. + which contains GHC itself and the "boot" libraries. - The extralibs package contains a bunch of optional libraries. If - you want, you can unpack this over the top of your source tree, and - these extra libraries will be built and installed automatically. - Make sure you unpack the extralibs package before running configure - (see below). + 2. Check out the source code from darcs + --------------------------------------- - If you don't build extralibs now, you can add them later by building - and installing individual packages using Cabal. + The recommended way to get a darcs checkout is to start off by + downloading a snapshot with a name like: - 2. Get the source from darcs - ---------------------------- + ghc-HEAD-2009-09-09-ghc-corelibs-testsuite.tar.bz2 - First get the GHC darcs repository: + from: + + http://darcs.haskell.org/ + + and then untar it and bring it up-to-date with: + + $ cd ghc + $ ./darcs-all get + + + Alternatively you can use darcs to get the repos, but it will take a + lot longer. First get the GHC darcs repository: $ darcs get http://darcs.haskell.org/ghc/ @@ -52,13 +57,7 @@ There are two ways to get a source tree: $ chmod +x darcs-all $ ./darcs-all get - This grabs the "boot" packages by default. To get the full set of - packages, instead say - - $ ./darcs-all --extra get - - This also downloads the libraries that are normally bundled in the - "extralibs" package (see above). + This checks out the "boot" packages. Building & Installing -- 1.7.10.4