Sourcery CodeBench Lite 2012.09-63 is the latest cross compiler for ARM architecture.

My host is debian distro

You may get a lite version from here

For the sake of simplicity I downloaded the .bin (IA32 GNU / Linux Installer)

$ cd Downloads/
$ /bin/sh ./arm-2012.09-63-arm-none-eabi.bin

follow the on-screen dialogs to install Sourcery CodeBench Lite (same as MS Windows software installation steps) If you don’t want such GUI, then replace above command as

$ /bin/sh ./path/to/package.bin -i console

setting up the environment variable PATH will ease operations Hence,

$ PATH=/home/cot/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_EABI/bin:$PATH
$ export PATH

Its time to verify our cross compiler toolchain

$ arm-none-eabi-gcc -v

if you get
gcc version 4.7.2 (Sourcery CodeBench Lite 2012.09-63)
congrats you successfully installed the needed compiler…

Enjoy…!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s