Changes between Version 30 and Version 31 of Building/GettingTheSources
- Timestamp:
- 09/17/08 07:15:17 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Building/GettingTheSources
v30 v31 86 86 This isn't usually necessary: extra packages can be compiled and installed separately using Cabal, after you have built and installed GHC itself with its core packages. The "core" and "extra" packages are listed in DarcsRepositories. 87 87 88 If you want only one of the extra libraries, you can also use darcs to manually add it to the tree. 89 Suppose you have downloaded a GHC source tree as advised above. 90 Look up the directory name (i.e. the package name) of the library which you want to add. 91 Descend into {{{libraries}}} and issue a {{{darcs get <repo>}}} (where {{{<repo>}}} is the repository of the package you want to get, ending in the package {{{<name>}}}). 92 A later {{{./darcs-all pull }}} now pulls updates not only for ghc and the core libraries, but also for any library you have added in this way. 93 {{{ 94 $ cd libraries 95 $ darcs get http://darcs.haskell.org/packages/<name> 96 $ cd .. 97 }}} 98 88 99 Optionally, you might want to grab the testsuite (if you have not already got it) and `nofib` benchmark suite too, which also become sub-directories of ghc: 89 100 … … 92 103 $ ./darcs-all --nofib get 93 104 }}} 105 94 106 The full list of darcs repositories relating to GHC is at DarcsRepositories. 95 96 97 107 98 108 === Getting a branch ===
