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/
|