Always create target tools in the gcc directory, take 6 (Re: [PATCH] gcc configure's determination of ld and as)

Paolo Bonzini paolo.bonzini@lu.unisi.ch
Fri Jun 17 11:15:00 GMT 2005


Paolo Bonzini wrote:
>> I presume this patch was not tested with a one-tree cross build,
>> without any installed target tools, and with configure earlier
>> yielding:
> 
> 
> Indeed I always tried it with tools available, either in-tree or in the 
> file system.
> 
> The dependency is useless unless the tools are in tree.

No, I am really stupid if the attached patch fixes it, and I should have 
read twice more the documentation for AC_PATH_PROGS (which always 
overwrite the user's previous setting).

I had the in-tree tools, but somehow I brought the test out of the `if' 
and the in-tree tools were not detected anymore.

Can you try it?  For arm-elf and arm-symbianelf it gets me a lot farther 
than earlier (libstdc++).

Richard, I am CCing you because the patch is simple, it affected you, 
and you are a GWP person.

Paolo
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: im-stupid.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050617/0c159243/attachment.ksh>


More information about the Gcc-patches mailing list