... | ... | @@ -124,7 +124,7 @@ To have the change propagated to the stage 2 compiler, either go and make stage |
|
|
|
|
|
Adding a new package is quite straightforward:
|
|
|
|
|
|
- To arrange that the package is checked out by `sync-all`, add an entry to the [packages](/trac/ghc/browser/packages)[](/trac/ghc/export/HEAD/ghc/packages) file.
|
|
|
- To arrange that the package is known to `./boot`, add an entry to the [packages](/trac/ghc/browser/packages)[](/trac/ghc/export/HEAD/ghc/packages) file.
|
|
|
- run `perl boot` to generate the `ghc.mk` and `GNUmakefile` files in your package's build.
|
|
|
- Add an entry to the `PACKAGES` variable in [ghc.mk](/trac/ghc/browser/ghc.mk)[](/trac/ghc/export/HEAD/ghc/ghc.mk). The list in `PACKAGES` is kept in dependency order: each package must appear after the packages it depends on.
|
|
|
|
... | ... | |