This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Always create target tools in the gcc directory, take 6 (Re:[PATCH] gcc configure's determination of ld and as)
On Fri, 2005-06-17 at 12:15, Paolo Bonzini wrote:
> 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
>
> ______________________________________________________________________
> 2005-06-17 Paolo Bonzini <bonzini@gnu.org>
>
> * aclocal.m4 (gcc_AC_CHECK_TOOL): Do not overwrite the
> passed variable.
Just because I have GWP doesn't mean I'll automatically consider every
patch...
However, this one's OK.
R.