This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: performing updates from gcc cvs and building
- From: Mike Stump <mrs at apple dot com>
- To: Mathieu Lacage <Mathieu dot Lacage at sophia dot inria dot fr>
- Cc: gcc <gcc at gcc dot gnu dot org>
- Date: Wed, 22 Dec 2004 12:07:01 -0800
- Subject: Re: performing updates from gcc cvs and building
On Wednesday, December 22, 2004, at 05:57 AM, Mathieu Lacage wrote:
Would someone be kind enough to tell me what I do wrong ?
I find your message confusing. If you rm -rf objdir/* as you indicate
at the top of your email, then, there should be no problem, and you
indicate that you can solve the problem by doing that at the end of
your message.
Anyway, besides what Ian said, you might try installing one of these
compilers as gcc and using it to compile the compiler. That reduces
tension between the stage1 and later stages, not that it should be
necessary, but I often find it useful.
I always rebuild in the same object directory, and never remove it. At
most, rm -rf <target>/* and/or rm Makefile and config.cache files and
reconfigure. Usually this works ok.
It is also possible that other targets like cleanstrap,restrap or
unstage might be useful, but, since you didn't give enough information,
I can't tell.