On Thu, Dec 22, 2005 at 06:13:22PM +0100, Paolo Bonzini wrote: > I am a bit confused. > > Does Gunther's failure mean that the default for the proposed > --with-build-tools option, should be $prefix/$target/bin? This would > set AS_FOR_TARGET, etc. from within the GCC_TARGET_TOOL toplevel > configure macro, and percolate all the way down to gcc.
If I am following correctly: The assembler we test for features in Gunther's case has always been $prefix/bin/as - luckily harmless for him and he probably never noticed. The installed compiler uses $prefix/$target/bin/as. The being-built compiler has switched from one to the other. One appropriate default for --with-build-tools could be the same as the defaults for --program-transform-name. A default native build would use 'as', a default cross build would use '$target-as'. Most people using --program-prefix would probably also pass the same value to --with-build-tools. -- Daniel Jacobowitz CodeSourcery, LLC