ts-7000
[Top] [All Lists]

Re: [ts-7000] cross compiling help needed

To:
Subject: Re: [ts-7000] cross compiling help needed
From: Triffid Hunter <>
Date: Tue, 10 Jul 2007 07:44:13 +1000 (EST)
On Mon, 9 Jul 2007, Angel Rodriguez wrote:

> Hello Everyone,
>
> I know so little about what I am trying to do that is is hard to even
> formulate questions. A real newbie here.
>
> I use 7260's with an SD card, the sd card has a Debian (got it from
> TS)
>
> I have a desktop system with Ubuntu and I have installed the cross
> compiler I downloaded from the TS page. I have done the "hello world"
> example and compiled it and moved it over to the 7260 and it runs.
>
> I have a program on my laptop which I hope to get to run on the 7260.  I
> have compiled it on the laptop with the regular gcc compiler using the
> Makefile provided by the programs authors. (a seismology data acquisition
> program)
>
> My question is what do I do now? How do I compile the program using
> the cross compiler so that it will run on the 7260. I am not even sure
> where to start.
>
> Is there some clear document that I can read that will get me going.
>
> Angel; a linux newbie

usually ./configure --host=arm-unknown-linux-gnu 
--target=arm-unknown-linux-gnu --build=$MACHTYPE --prefix=/usr && make && 
make DESTDIR=/path/to/armroot (with suitable replacements) should do it. 
--host specifies the system that the results will run on, --target 
specifies the system that the results will create files for (in the case 
of compilers and assemblers and things), and --build specifies the type of 
system that will build the results. A cross compile occurs anytime that 
host != build.

see http://www.gentoo.org/proj/en/base/embedded/cross-development.xml and 
have a look through http://cross-lfs.org/view/svn/ even though there isn't 
a section for arm.



 
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