Difference between revisions of "Code Sourcery ARM toolchain 2009q1-203"

From RidgeRun Developer Connection
Jump to: navigation, search
(Creating directory to hold toolchain)
Line 17: Line 17:
sudo mkdir -p /opt/codesourcery
sudo mkdir -p /opt/codesourcery
chmod ugo+wrx /opt/codesourcery
sudo chmod ugo+wrx /opt/codesourcery

Revision as of 16:23, 27 January 2012

About Mentor Embedded / Code Sourcery

From codesourcery.com: CodeSourcery builds software tools that enable its customers to get the most out of hardware platforms ranging from embedded devices to supercomputers. CodeSourcery's products and services deliver on the promise of open-source software and open standards. Founded in 1997.

From mentor.com: Mentor acquired from Code Sourcery in November 2010.

Downloading toolchain

The following binary installer is recommended for adding the toolchain to your host computer.


Creating directory to hold toolchain

Run the following commands to create the directory to hold the toolchain and allow anyone to write to that directory.

sudo mkdir -p /opt/codesourcery
sudo chmod ugo+wrx /opt/codesourcery

After you install the toolchain, you can make the directory non-writable if you so desire.

Installing toolchain

After downloading the toolchain, set the execution permission and run the installer

chmod ugo+x arm-2009q1-203-arm-none-linux-gnueabi.bin

You will see a welcome screen:


Press Next.


Accept the license, and press Next.


Review the components that are included with the toolchain and press Next.


Select Typical install and press Next.


Change the install location to


and press Next.


Change option to Do not modify PATH. and press Next.


Select Don't create links and press Next.


Review summary information and press Install.


Press Done when the installation is complete.

Configuring SDK to use toolchain

The RidgeRun SDK configuration tool allows you to set the toolchain directory path. The default location is /opt/codesourcery/arm-2009q1, so if the recommended location was used above, you do not need to configure your SDK. If you used a different location, then you will need to run the SDK configuration tool once you have the SDK installed in order to change the toolchain directory path.

The menu tree is

RidgeRun SDK Configuration ->
   Toolchain configurations ->
      Toolchain binaries path