Cross_compiler error!HELP ME

Zack Weinberg zack@codesourcery.com
Tue Aug 31 09:00:00 GMT 2004


"Daniel Yu" <Daniel_Yu@Jabil.com> writes:

> Hi all:
> 	My machine is i386 and the OS is redhat 9.0. After i downloaded the
> gcc-3.3.4 package, I try to compile it for xscale target board.
...

> /tmp/ccDiaKEM.s: Assembler messages:
> /tmp/ccDiaKEM.s:36: Warning: rest of line ignored; first ignored character
> is `@'
> /tmp/ccDiaKEM.s:37: Warning: rest of line ignored; first ignored character
> is `@'
> /tmp/ccDiaKEM.s:38: Error: no such instruction: `stmfd sp!,{r4,r5,lr}'
...

You need a cross-assembler.  Go read the crossgcc HOWTO.

zw



More information about the Gcc mailing list