How to rebuild stage 1?
Daniel Berlin
dberlin@dberlin.org
Fri Dec 16 14:57:00 GMT 2005
On Fri, 2005-12-16 at 08:45 -0500, Daniel Jacobowitz wrote:
> On Fri, Dec 16, 2005 at 09:35:22AM +0100, Paolo Bonzini wrote:
> > H. J. Lu wrote:
> > >How can I rebuild stage 1 compiler with the system compiler? I used
> > >to be able to do
> > >
> > ># cd gcc
> > ># make unstage1
> > ># make restage1
> > >
> > >But now ./prev-gcc/xgcc is used to build stage 1 compiler, not the
> > >system compiler.
> >
> > If the old bootstrap mechanism had already been garbage collected, you
> > would not have succeeded in doing "make unstage1" or "make restage1".
> >
> > What you want is, from the *toplevel* directory, "make all-stage1". I
> > can rename it to "make restage1" if people care enough, but I think the
> > new name fits more the toplevel Makefile's naming of targets (where you
> > have all-host, all-target, etc.).
>
> What we really need is more documentation in the top-level Makefile
> about the available targets and what they do, I think.
A simple summary would be very helpful in trying to figure out what i
want to do now.
I'm sure most of the functionality exists, i'm just not sure what it's
called anymore :)
>
More information about the Gcc
mailing list