This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: fixincl now run at every stage?
- To: zack at wolery dot cumb dot org
- Subject: Re: fixincl now run at every stage?
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Mon, 31 Jan 2000 13:38:13 -0500 (EST)
- Cc: autogen at linuxbox dot com, egcs-bugs at egcs dot cygnus dot com, law at cygnus dot com
> From: Zack Weinberg <zack@wolery.cumb.org>
>
> On Sun, Jan 30, 2000 at 01:40:49PM -0500, Kaveh R. Ghazi wrote:
> >
> > With current CVS, fixincl is run at every stage. I thought it
> > was only supposed to run at stage1. Is this intentional?
>
> It certainly wasn't my intent; I thought it was only supposed to run
> in stage1, too.
> zw
Scanning recent Makefile.in changes, I'm going to hazard a guess that
this was the culprit:
> 2000-01-20 Zack Weinberg <zack@wolery.cumb.org>
>
> * Makefile.in (fixinc.sh): Depend on specs.
Because "specs" is part of $(STAGESTUFF), We move "specs" into the
stageN dir between stages so it gets rebuilt. Then fixinc.sh gets
rebuilt, which triggers the stmp-fixinc target, which reruns fixinc.sh
at every stage.
It may correct this to remove "specs" from $(STAGESTUFF). But I'm not
sure what side effect that would have.
Incidentally, this problem also causes libgcc.a to be rebuilt at every
stage due to dependencies on the header fixes.
--Kaveh
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions