|Version 9 (modified by simonmar, 7 years ago) (diff)|
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
Don't forget to add any necessary flags to ./configure if you need them.
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.