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


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


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