Changes between Version 14 and Version 15 of Commentary/Libraries
- Aug 28, 2009 11:39:03 AM (6 years ago)
v14 v15 7 7 Every installation of GHC includes the Boot Packages. 8 8 9 == Zero-boot package == 9 == Zero-boot package == 10 10 11 11 The '''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. … … 33 33 * INDEPENDENT: all other packages 34 34 35 == Structure of the boot packages == 35 == es == 36 36 37 37 * 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.