Code Sourcery ARM toolchain 2009q1-203

From RidgeRun Developer Connection

(Difference between revisions)
Jump to:navigation, search
m (Created page with '== About Mentor Embedded / Code Sourcery == From codesource.com: CodeSourcery builds software tools that enable its customers to get the most out of hardware platforms ranging f...')
Line 1: Line 1:
== About Mentor Embedded / Code Sourcery ==
== About Mentor Embedded / Code Sourcery ==
-
From codesource.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 [http://www.codesourcery.com/company/index_html 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 [http://www.mentor.com/company/news/mentor-integrated-development-environment-gnu-toolchain mentor.com]: Mentor acquired from Code Sourcery in November 2010.
From [http://www.mentor.com/company/news/mentor-integrated-development-environment-gnu-toolchain mentor.com]: Mentor acquired from Code Sourcery in November 2010.
Line 10: Line 10:
http://www.codesourcery.com/sgpp/lite/arm/portal/package4573/public/arm-none-linux-gnueabi/arm-2009q1-203-arm-none-linux-gnueabi.bin
http://www.codesourcery.com/sgpp/lite/arm/portal/package4573/public/arm-none-linux-gnueabi/arm-2009q1-203-arm-none-linux-gnueabi.bin
 +
 +
== 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.
 +
 +
<pre>
 +
sudo mkdir -p /opt/codesourcery
 +
chmod ugo+wrx /opt/codesourcery
 +
</pre>
 +
 +
After you install the toolchain, you can make the directory non-writable if you so desire.
== Installing toolchain ==
== Installing toolchain ==
Line 24: Line 35:
[[File:cs-toolchain-arm-2009q1-203-welcome.jpg]]  
[[File:cs-toolchain-arm-2009q1-203-welcome.jpg]]  
 +
Press Next.
 +
[[File:cs-toolchain-arm-2009q1-203-license.jpg]]
 +
Accept the license, and press Next.
 +
 +
[[File:cs-toolchain-arm-2009q1-203-important-information.jpg]]
 +
 +
Review the components that are included with the toolchain and press Next.
 +
 +
[[File:cs-toolchain-arm-2009q1-203-install-set.jpg]]
 +
 +
Select Typical install and press Next.
 +
 +
[[File:cs-toolchain-arm-2009q1-203-install-folder.jpg]]
 +
 +
Change the install location to
 +
 +
<pre>
 +
/opt/codesourcery/arm-2009q1
 +
</pre>
 +
 +
and press Next.
 +
 +
 +
[[File:cs-toolchain-arm-2009q1-203-set-PATH.jpg]]
 +
 +
Change option to <tt>Do not modify PATH.</tt> and press Next.
 +
 +
[[File:cs-toolchain-arm-2009q1-203-choose-link-folder.jpg]]
 +
 +
Select <tt>Don't create links</tt> and press Next.
 +
 +
[[File:cs-toolchain-arm-2009q1-203-pre-installation-summary.jpg]]
 +
 +
Review summary information and press Install.
 +
 +
[[File:cs-toolchain-arm-2009q1-203-installation-complete.jpg]]
 +
 +
Press Done when the installation is complete.
== Configuring SDK to use toolchain ==
== Configuring SDK to use toolchain ==
 +
 +
The RidgeRun SDK configuration tool allows you to set the toolchain directory path.  The default location is <tt></tt>, 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 ne

Revision as of 23:10, 30 May 2011

Contents

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.

http://www.codesourcery.com/sgpp/lite/arm/portal/package4573/public/arm-none-linux-gnueabi/arm-2009q1-203-arm-none-linux-gnueabi.bin

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
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
./arm-2009q1-203-arm-none-linux-gnueabi.bin

You will see a welcome screen:

Cs-toolchain-arm-2009q1-203-welcome.jpg

Press Next.

Cs-toolchain-arm-2009q1-203-license.jpg

Accept the license, and press Next.

Cs-toolchain-arm-2009q1-203-important-information.jpg

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

Cs-toolchain-arm-2009q1-203-install-set.jpg

Select Typical install and press Next.

Cs-toolchain-arm-2009q1-203-install-folder.jpg

Change the install location to

/opt/codesourcery/arm-2009q1

and press Next.


Cs-toolchain-arm-2009q1-203-set-PATH.jpg

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

Cs-toolchain-arm-2009q1-203-choose-link-folder.jpg

Select Don't create links and press Next.

Cs-toolchain-arm-2009q1-203-pre-installation-summary.jpg

Review summary information and press Install.

Cs-toolchain-arm-2009q1-203-installation-complete.jpg

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 , 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 ne

Navigation
Toolbox