This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to rebuild stage 1?


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.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]