help getting cross compiler

I have installed Debian and Mojo (ubuntu) Os’s on my beagle board. I am now ready to start writing C applications for it. Can anyone show me how to get the gcc cross compiler installed on my host machine? I am using a ubuntu 8.04 and/or fedora 8 host.

Thanks,
Saladino

Hi Saladino,

Not sure how much experience you have with linux, but for example i
just ssh into my beagleboard (it's running lenny) to build all my
*.deb's i build.

beagle: apt-get install build-essentials (will get you most of the requirements)

Otherwise you can use any standard linux ide, create a standard
project, native (386/x64) build and debug, copy your source files over
to the beagleboard and rebuild in (arm). As long as you weren't doing
anything not cross platformish it should work. Even better, if you
want to be completely on the safe side, (library version etc), you can
code in ubuntu 8.04 for hasty-armv5el (8.04 port for arm) &
hasty-armv6el. (and lenny with lenny)

Otherwise there are a bunch of people on this list that can do a much
better cross compile example then me. :wink:

I found a cross compiler at http://www.codesourcery.com/gnu_toolchains/arm/portal/release567
that seems to work. I experimented with a simple hello world program.

Thanks,
Saladino.

saladino wrote:

I found a cross compiler at http://www.codesourcery.com/gnu_toolchains/arm/portal/release567
that seems to work. I experimented with a simple hello world program.

For Beagle you should use CodeSourcery ARM GNU/Linux tool chain 2007q3
version.

http://elinux.org/BeagleBoard#Cortex_A8_ARM

Dirk