This is the mail archive of the gcc@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: Cross_compiler error!HELP ME


Zack Weinberg <zack at codesourcery dot something> wrote:
"Daniel Yu" <Daniel_Yu@Jabil.com> writes:
	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.

The crossgcc HOWTO is quite outdated, so Mr. Yu should probably also have a look at http://kegel.com/crosstool - Dan

--
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change


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