This is the mail archive of the gcc-patches@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: fix target lib rebuilding


On Apr 27, 2005, Mike Stump <mrs@apple.com> wrote:

> 	* configure.in: Always pass --target to target configures as
> 	otherwise rebuilds that do --recheck will fail.
> 	* confiugure: Rebuilt.

Ok, as long as you add a comment explaining why the
apparently-pointless --target flag is passed.

IIRC the problem only shows up when you first bootstrap, then modify
the sources such that reconfiguration is needed, then make all, or
start with make all and end with bootstrap.  It's the recursive make
introduced by bootstrapping that gets the target_alias variable set
in the target config environment, which autoconf 2.5x checks.

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}


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