Electronic – Best way to install arm-elf-gcc onto a Linux machine

armcompilerlinux

Hey folks,
I'm working on a device using arm-elf-gcc to compile code for a MakingThings prototype board. My development machine is a Linux box running Ubuntu 9.10. On a different linux box using Ubuntu I got arm-elf-gcc running ok by manually building and installing gcc, after 3 or 4 tries.

I'm trying to pick the best way to install the toolchain, but there doesn't seem to be a best way AFAIK. Setting up on 9.08 and 9.10, both seem to fail except for when I manually build and install the environment.

I have tried Emdebian packages and CodeSourery, and neither of those worked well.

Does anyone have any other good suggestions for doing an arm-elf-gcc setup on a Linux box?

Best Answer

I'd say CodeSourcery Lite is the easiest way. The Lite version is just the GNU tools (no fancy IDEs, etc).

It installs cleanly into a single directory, you just need to set your PATH to point at it.