The gcc configure script incorrectly attempts to use the host assembler to
determine supported features when building a canadian cross. The comments
in configure.as say we want a build->target assembler, but then pick the
host->target assembler anyway. This then fails all the feature tests as we
can't execute it.
The patch below avoids looking for a host compiler when build != host.
Tested by building native i686-linux, cross to arm-none-elf and
canadian cross to arm-none-elf via sparc-sun-solaris, and checking
the correct assembler is picked.
Ok?