This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: ARM illegal instruction


Everyone,

> > I set the cpu type to match the processor listed from my
> > embedded device's /proc/cpuinfo (ARM922Tid), but both C
> > and Java programs die with an illegal instruction error.
> 
> According to: http://www.arm.com/products/CPUs/ARM922T.html
> the ARM922T is based around an ARMv4T processor.
> I'd expect the ARM922Tid to be the same as an ARM922T.
> 
> So I'd set:
> CT_ARCH_ARCH=armv4t
> CT_ARCH_CPU=arm922t
> CT_ARCH_TUNE=arm922t

Actually, setting CPU and ARCH results in the compiler complaining
about conflicting values, so I went with just ARCH=armv4t which
seemed to solve the problem for now.

> Can't you upgrade?

I wish!

Andy

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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