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: [patch] Avoid host assembler in canadian cross.


Paul Brook wrote:

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?

OK, thanks.

--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com


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