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: [RFC/RFA] --with-build-time-tools configure option


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)


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