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


Andy,
All,

On Monday 19 January 2009 22:07:09 Andy Johnson wrote:
> Yann,

Andy, I'm not the only one on this mailing list. Please also
acknowkedge other people.

> 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

> Looking at the include/linux/autoconf.h that came with
> toolkit for the system (based on Linux kernel 2.6.9 and

Old kernel!

> GCC 3.3.2,

Old gcc!

Can't you upgrade?

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| --==< ^_^ >==-- `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
`------------------------------^-------^------------------^--------------------'


--
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]