Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[arm-gnu] "Illegal instruction" problem


  • To: arm-gnu@xxxxxxxxxxxxxxxx
  • Subject: [arm-gnu] "Illegal instruction" problem
  • From: Meng Sun <meng.sun@xxxxxxxxx>
  • Date: Mon, 01 Sep 2008 15:14:41 +0300

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?

Thanks!

BR,