 |
|
|
|
Actions
|
|
[ Date Prev][ Date Next][ Thread Prev][ Thread Next][ Date Index][ Thread Index]
Re: [arm-gnu] "Illegal instruction" problem
- To: Carlos O'Donell <carlos@xxxxxxxxxxxxxxxx>
- Subject: Re: [arm-gnu] "Illegal instruction" problem
- From: Meng Sun <meng.sun@xxxxxxxxx>
- Date: Tue, 02 Sep 2008 08:43:14 +0300
Carlos O'Donell 写道:
Meng Sun wrote:
Hi all,
I am using Linux EABI toolchain compiling helloworld.c for TI OMAP5912
(ARM926EJ-S). I'm using following commands:
arm-none-linux-gnueabi-gcc -mcpu=arm926ej-s ./helloworld.c -o
./helloworld
and then copy all files under "libc" to target board's "/cs/" directory.
Then execute the file by specify:
/cs/libc/lib/ld-linux.so.3 --library-path
/cs/libc/lib/:/cs/libc/usr/lib/ ./helloworld
An "Illegal instruction" is shown under command line. What is wrong with
that?
Is your kernel sufficiently new enough?
Please see:
http://www.codesourcery.com/gnu_toolchains/arm/portal/kbentry22
Cheers,
Carlos.
By the way, I am using GNU/Linux EABI Lite Edition.
Thanks.
|
|