ARM illegal instruction

Martin Guy martinwguy@yahoo.it
Tue Jan 20 00:20:00 GMT 2009


On 1/19/09, Andy Johnson <ajohnson@aecno.com> wrote:
>  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.

I've had this when the C compiler was built for armv4t as it should,
but the libraries built for the (unfortunately) default CPU of armv5t,
which means clz instructions.

try a shot of --with-cpu=

g'luck

    m

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



More information about the crossgcc mailing list