site  contact  subhomenews

CodeSourcery experiment

November 18, 2011 — BarryK
I want to get hands-on experience with CodeSourcery and Buildroot, even though it might not be what I ultimately use for development. Documenting here...

CodeSourcery is a toolchain for cross-compiling and debugging:
http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/

The free Lite edition is at this link. I grabbed the "GNU/Linux" download:
https://sourcery.mentor.com/sgpp/lite/arm/portal/subscription?@template=lite

I installed by following these instructions:
http://www.arm9board.net/wiki/index.php?title=Codesourcery_toolchain

Except that I added the installation to the PATH variable in /etc/profile, then rebooted. The toolchain uses GCC 4.5.1.

Comments

Linaro
Username: Dougal
Barry, you might want to look at the Linaro toolchain: http://blogs.igalia.com/vjaquez/2011/08/03/how-i-installed-the-linaros-toolchain/ They make a lot of improvements for ARM support and, since upstream for things like GCC takes a while to put out a new release, a "mainstream" toolchain will be pretty out-of-date (note that they also release a kernel every month).

Re Linaro
Username: BarryK
"Dougal, Yes, it looks good, however it is based on Ubuntu 11.10, which, I understand, is for ARMv7. The RaspberryPi developers mentioned that an older Ubuntu has to be used on their ARMv6 system.

/opt
Username: Aitch
"Barry Use of /opt in Puppy Please see thread and comment, thanks I've asked Jemimah and the Saluki team to look, too http://www.murga-linux.com/puppy/viewtopic.php?t=74178 Aitch :)


Tags: puppy