It looks to me like this last changed around 2005-06-16 on HEAD, and we
assume that the assembler installed in $prefix is the assembler you
want the compiler to be using - it's the same assembler you'd get if
you said "as", so why shouldn't we use it?
When building from a combined tree, I still see that the compiler is
using the assembler in $prefix/$target/bin/as even for a native
configuration.
research:/tools/paologcc/bin bonzinip$ ./i686-pc-linux-gnu-gcc -###
~/dump-alldata.c -c
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../configure --enable-languages=c --prefix=/tools/paologcc
Thread model: posix
gcc version 4.2.0 20051123 (experimental)
"/tools/paologcc/libexec/gcc/i686-pc-linux-gnu/4.2.0/cc1" "-quiet"
"-isystem" "/home/bonzinip/include" "/home/bonzinip/dump-alldata.c"
"-quiet" "-dumpbase" "dump-alldata.c" "-mtune=pentiumpro" "-auxbase"
"dump-alldata" "-o" "/tmp/ccrSYooh.s"
"/tools/paologcc/lib/gcc/i686-pc-linux-gnu/4.2.0/../../../../i686-pc-linux-gnu/bin/as"
"-Qy" "-o" "dump-alldata.o" "/tmp/ccrSYooh.s"
Paolo