Difficulties with creating a cross compiler

Brian Dessent brian@dessent.net
Sat Sep 29 00:16:00 GMT 2007


Scott Moore wrote:

> Why does gcc make create this batch file "as" on cross compilers?

You did install a cross-binutils and put its $prefix/bin ahead of the
native tools in the PATH, right?  Because it looks like the gcc
configure wasn't able to find arm-elf-as and is doing the wrong thing. 
There is no way you can build a cross-compiler without first building a
cross-assembler and cross-linker (neither of which are part of gcc.)

Brian



More information about the Gcc-help mailing list