Changes between Version 14 and Version 15 of Commentary/Libraries


Ignore:
Timestamp:
Aug 28, 2009 11:39:03 AM (6 years ago)
Author:
simonpj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Libraries

    v14 v15  
    77Every installation of GHC includes the Boot Packages.
    88
    9 == Zero-boot package ==
     9== Zero-boot packages ==
    1010
    1111The '''Zero-boot Packages''' are a small subset of the boot packages.  Since GHC's source code imports the boot packages, ''even the bootstrap compiler must have the boot packages available''.  But for certain fast-moving boot packages (eg Cabal), we don't want to rely on the user having installed a bang-up-to-date version of the package.  So we begin the entire build process by installing the zero-boot packages in the bootstrap compiler.  (This installation is purely local to the build tree.)  The bootstrap compiler is expected to have all other (non-zero-) boot packages already installed.
     
    3333  * INDEPENDENT: all other packages
    3434
    35 == Structure of the boot packages ==
     35== Boot packages dependencies ==
    3636
    3737 * At the root of the hierarchy we have '''`ghc-prim`'''. As the name implies, this package contains the most primitive types and functions. It only contains a handful of modules, including `GHC.Prim` (which contains `Int#`, `+#`, etc) and `GHC.Bool`, containing the `Bool` datatype.