simonmarhaskell at gmail.com
Tue Sep 26 11:46:31 EDT 2006
Ashley Yakeley wrote:
> The best way to rebuild GHC after a previous build seems to be this:
> make distclean
> ./darcs-all pull -a
Right - and if you plan to do this a lot, then it makes sense to build in a
separate link-tree rather than building directly in the source tree.
Sometimes you can get away with less recompilation after pulling new changes,
but it's hard to identify exactly when that's the case: the GHC build is full of
implicit dependencies. Some of these dependencies are impractical to express
(eg. you probably don't always want to rebuild stage 2 from scratch whenever
stage 1 is touched), but there are no doubt some dependencies that could
reasonably be added to the build system.
More information about the Cvs-ghc