... | ... | @@ -89,9 +89,9 @@ Header files for the runtime system; see [Commentary/SourceTree/Includes](commen |
|
|
The `utils` directory contains support utilities that GHC uses. Some of these are themselves separate repositories that `sync-all` pulls; others are part of the main GHC repository.
|
|
|
|
|
|
|
|
|
These utils may be built with the bootstrapping compiler, for use during the build, or with the stage1 or stage2 compiler, for installing. Some of them are built with both; we can't install the utils built with the bootstrapping compiler as they may use different versions of C libraries. The reason we use sometimes use stage2 rather than stage1 is that some utils, e.g. haddock, need the GHC API package.
|
|
|
These utils may be built with the bootstrapping compiler, for use during the build, or with the stage1 or stage2 compiler, for installing. Some of them are built with both; we can't install the utils built with the bootstrapping compiler as they may use different versions of C libraries. The reason we use sometimes stage2 rather than stage1 is that some utils, e.g. haddock, need the GHC API package.
|
|
|
|
|
|
- **`utils/ghc-pwd`** is a little program we use for getting the current directory. We use this, rather than `pwd`, as the latter may give reults that we can't use on Windows.
|
|
|
- **`utils/ghc-pwd`** is a little program we use for getting the current directory. We use this, rather than `pwd`, as the latter may give result that we can't use on Windows.
|
|
|
- **`utils/ghc-cabal`** is a little program we use for building the libraries. It's similar to cabal-install, but without the dependencies on `http` etc.
|
|
|
- **`utils/count_lines`** is a program that counts the number of source-code lines in GHC's code-base. It distinguishes comments from non-comments.
|
|
|
|
... | ... | |