This is the mail archive of the gcc@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: selection or target tools


On Fri, Dec 23, 2005 at 10:10:01AM +0100, Paolo Bonzini wrote:
> 2) look into the --with-build-tools path, for both a Canadian cross and 
> a native build.  This defaults to $exec_prefix/$target/bin, so the 
> default build tools (used in autoconf tests and by the being-built GCC) 
> would be, if found, something like 
> /usr/local/i686-pc-linux-gnu/bin/{ar,as,ld,...}.  These would be "naked" 
> names, not $target-prefixed, even when building a cross (because they 
> are in a directory named after the target).

If the above isn't restricted to canadian cross, it looks good. This should
apply for a normal cross build as well: (build == host) != target

> We also have the problem of backwards compatibility.  I can try to work 
> out a patch to implement --with-build-tools in 4.0 and 4.1 (with the new 
> logic kicking in only if the option is specified, of course).

Why dou you need a backwards compatibility patch for 4.0/4.1?

Gunther


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