|Version 8 (modified by simonmar, 4 years ago)|
How do I rebuild GHC after updating or changing it?
To pull new changes:
$ sh darcs-all pull $ sh darcs-all get
(the second step is required in the event that new packages or repositories have been added to GHC).
After pulling changes, the following sequence should be enough to update your build:
$ sh boot $ ./configure $ make
Things that might go wrong
- when files move around in the tree, this procedure will leave old files lying around. The build system typically won't know how to clean up the old files. Usually they won't cause a problem, but in the event that they do it's easy enough to wipe your build tree and start afresh, especially if you use a separate build tree.