ARM illegal instruction

Andy Johnson ajohnson@aecno.com
Tue Jan 20 21:25:00 GMT 2009


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



More information about the crossgcc mailing list