hi! i try.
[EMAIL PROTECTED] hello$* arm-uclinuxeabi-g++ -mcpu=arm7tdmi -Os -fomit-frame-pointer -fno-common -fno-builtin -Wall -Wl,-elf2flt="-r" -o testecpp.bin testecpp.cpp -nostdinc++ -l:/opt/uClibc++/lib/libuClibc++.a -I/opt/uClibc++/include [EMAIL PROTECTED] hello$* file testecpp.bin testecpp.bin: BFLT executable - version 4 ram [EMAIL PROTECTED] hello$ * and send to board, and receive msg. # ./testecpp.bin Illegal instruction # On Fri, Mar 7, 2008 at 1:42 PM, Khem Raj <[EMAIL PROTECTED]> wrote: > -----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 ([EMAIL PROTECTED]) (gcc version 2.95.3 > | 20010315 (release)(ColdFire patches - 20010318 from > | > http://fiddes.net/coldfire/)(uClinux<http://fiddes.net/coldfire/%29%28uClinux> > | <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----- > -- Regards, + ---------------------------------------------------------------------------------+ Jorge Pereira, From: Olinda/Pe/Brazil Home: http://www.jorgepereira.com.br/ E-mail: [EMAIL PROTECTED], [EMAIL PROTECTED] Mobile: +55 (81) 8833-2484 My Public Key: http://www.jorgepereira.com.br/public.pgp + ---------------------------------------------------------------------------------+ "Se você ama alguma coisa, liberte-a; Se ela não voltar a ti, cace-a e mate-a." +----------------------------------------------------------------------------------+
_______________________________________________ uClibc mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/uclibc
