Changes between Version 7 and Version 8 of Building/Files


Ignore:
Timestamp:
Aug 17, 2008 1:05:43 PM (6 years ago)
Author:
igloo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/Files

    v7 v8  
    2020The `libraries/` directory contains all the packages that GHC needs to build.  It has one sub-directory for each package repository (e.g. `base`, `haskell98`, `random`). Usually each such repository builds just one package but sometimes more than one (e.g DPH). 
    2121 
    22  * '''`libraries/cabal-bin.hs`''' is .... (mention the executable too) 
    23  * '''`libraries/ifBuildable/`''' is ...? 
    24  * '''`libraries/bootstrapping/`''' is ...? 
     22 * '''`libraries/cabal-bin.hs`''' is a little program we use for building the libraries. It's similar to cabal-install, but without the dependencies on `http` etc. 
     23 * '''`libraries/ifBuildable/`''' is a utility that we use in the build system. It allows the build to continue if an extralib is not buildable (e.g., if we are missing a C library that an extralib depends on then we can still build the compiler). We expect this to disappear soon, when extralibs are removed. 
     24 * '''`libraries/bootstrapping/`''': In order to build `cabal-bin` we need to compile `cabal-bin.hs`, as well as a few libraries that we can't rely on the bootstrapping compiler having. We put the `.hi` and `.o` files that result from this in `bootstrapping/`. 
    2525 
    2626`runghc.wrapper`?