ts-7000
[Top] [All Lists]

[ts-7000] Re: Cross Compiling Problems TS-7390

To:
Subject: [ts-7000] Re: Cross Compiling Problems TS-7390
From: "kenwmetzler" <>
Date: Fri, 23 Jan 2009 18:28:32 -0000
I had this same problem on a 7350. I believe the issue was that I 
needed to use the helloworld-oabi version of the helloworld program.

Ken


--- In  "wap_surfer" <> wrote:
>
> 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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU