arm7tdmi - NXP LPC2468 - gcc/g++/libstdc++, it's possible?

Khem Raj kraj at mvista.com
Fri Mar 7 16:42:48 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jorge Pereira wrote:


| when a try execute a BIN on board (LPC2468 from embedded artistis) a
| receive this message
|
| *#* cat /proc/version
| Linux version 2.6.11.8-hsc0BEIJING (user at eadevenv) (gcc version 2.95.3
| 20010315 (release)(ColdFire patches - 20010318 from
| http://fiddes.net/coldfire/)(uClinux
| <http://fiddes.net/coldfire/%29%28uClinux> XIP and shared lib patches
| from http://www.snapgear.com/) <http://www.snapgear.com/%29>) #189 Wed
| Dec 26 16:06:12 CET 2007
| *#* ./testecpp.bin
| Illegal instruction
| *#*
|
| Questions!!
|
| 1) why this message appear?

arm7tdmi is ARMv4T instruction set. Your problem could be that gcc might
not be generating code for this architecture by default instead a newer
one. what happens when you use -mcpu=arm7tdmi



| 2) exist any form to "running a c++ app in this board LPC2468 from
| embedded artists??
|
| My priority is compile using gcc/g++/threads 3.4 or better.


- -Khem
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH0XCIUjbQJxVzeZQRAh6uAJ9rEpk7ojmrG+FqoNVLcEQEy1RSqACgioqL
AiIX4dqahXtvITve12iMViw=
=S+Zo
-----END PGP SIGNATURE-----



More information about the uClibc mailing list