This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC/RFA] --with-build-time-tools configure option
Daniel Jacobowitz wrote:
On Thu, Jan 05, 2006 at 10:20:18AM +0100, Paolo Bonzini wrote:
I am not sure, because the purpose of this patch was to do the tests on
the same tools that GCC will use after installation -- and GCC only uses
as/ld/nm. I think that if you want ar and ranlib placed somewhere else,
you'd need to specify the new --with-build-time-tools options.
If we want to decide that $prefix/$target/bin is an interesting place to
look for tools, it's fine by me but this should also apply to host
tools, and should be coordinated with the Autoconf folks (which, sorry
to say, means that likely it will never be done).
Why should it be coordinated with autoconf or apply to host tools?
Perfect is the enemy of good - and we have more trouble finding target
tools than we do finding host tools. We have ar, as, ld, nm, objdump,
ranlib, and strip available in that directory when GNU binutils is
installed; I think we should use them uniformly.
Good for me. It's just not what GCC 4.0 and earlier were doing.
If DJ agrees, I will prepare another patch.
Paolo