This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Cross_compiler error!HELP ME
"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