Ashley Yakeley wrote:
The best way to rebuild GHC after a previous build seems to be this:

make distclean
./darcs-all pull -a
autoreconf
./configure
make

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.

Cheers,
        Simon
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to