Rebuilding ghc

Tim Chevalier catamorphism at
Tue Jun 10 17:57:27 EDT 2008

On 6/10/08, Dominic Steinitz <dominic.steinitz at> wrote:
> I've built ghc previously and I assumed to keep it up to date I just did
>  darcs pull
>  followed by
>  make
>  but I got errors and according to the rebuilding instructions
> I shouldn't
>  have done that.
>  I therefore followed the instructions but got the following error.

It's probably best to do a "make distclean" at this point, then follow
the building instructions.

> By
>  the way darcs-pull all seemed to require a lot of manual intervention.
>  Is there a way of getting the latest patches automatically and building
>  overnight without intervention?

./darcs-all pull -a will pull all patches without prompting you to ask
whether you want to pull each patch, if that's what you mean. The
following should pull patches and rebuild everything without manual

./darcs-all pull -a; sh boot; ./configure; make

but YMMV.


Tim Chevalier * * Often in error, never in doubt
"Aristotle maintained that women have fewer teeth than men; although
he was twice married, it never occurred to him to verify this
statement by examining his wives' mouths." -- Bertrand Russell

More information about the Glasgow-haskell-users mailing list