Hi,
I am having no luck what so ever with cross compiling.
First of all I've tried using the windows eclipse IDE + compiler that
comes on the SD card I got with the development kit.
I successfully compiled the simple helloworld project. I copied the
ARM binary produced to my board using ftp and done following:
ts7000:~# chmod 755 helloworld
ts7000:~# ./helloworld
Illegal instruction
ts7000:~#
I'm guessing that its getting compiled to code for a slightly
different CPU that has different instruction set.
I know the CPU in the TS-7390 is a Cirrus EP9302 so I downloaded a
ready made binary tool [arm-ep9312-linux-gnueabi] chain from
http://freaknet.org/martin/crosstool/packages/
I succesfully installed this with dpkg -i .....
I then compiled my program statically:
$ arm-ep9312-linux-gnueabi-gcc helloworld.c -o helloworld.out -static
This resulted in illegal instruction
I tried another tool chain off here:
ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7350-linux/cross-toolchains/crosstool-linux-gnueabi-2005q3-2.tar.gz
Untarred it and set the path to the bin folder and compiled similar to
above and got "Segmentation Fault".
In all cases i tried the "-march=armv4t" option as well and had no
luck that way either.
I'm at a total loss, I need to get QT/E on the board and start
compiling programs ASAP but this is really blocking me.
I've searched past posts and havnt found anything that solved my problem.
Anyone got any suggestions?
Thanks,
Donal
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|