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
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Paolo Bonzini <paolo dot bonzini at lu dot unisi dot ch>
- Cc: Alexandre Oliva <aoliva at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Daniel Jacobowitz <drow at false dot org>
- Date: Fri, 10 Feb 2006 03:40:13 +0000 (UTC)
- Subject: Re: [RFC/RFA] --with-build-time-tools configure option
- References: <43BACEDC.10302@lu.unisi.ch> <orlkxiannk.fsf@livre.oliva.athome.lsd.ic.unicamp.br> <43CB5173.8040000@lu.unisi.ch>
On Mon, 16 Jan 2006, Paolo Bonzini wrote:
> +ACX_CHECK_INSTALLED_TARGET_TOOL(AS_FOR_TARGET, as)
> +# ACX_CHECK_INSTALLED_TARGET_TOOL(VAR, PROG)
> + $1=`cd $with_build_time_tools && pwd`/$1
I tried integrating --with-build-time-tools into builds of GCC (in the
configurations that would otherwise create scripts gcc/as etc.) and found
that --with-build-time-tools=/some/where ends up looking for paths such as
/some/where/AS_FOR_TARGET (instead of /some/where/as). I suspect at least
one $1 should be $2 here.
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
jsm@polyomino.org.uk (personal mail)
joseph@codesourcery.com (CodeSourcery mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)