The method used to install ARM Sourcery G++ Lite depends on your host system.
If you have received ARM Sourcery G++ Lite on CD, insert the CD in your computer. On most computers, the installer will start automatically. If your computer has been configured not to automatically run CDs, open My Computer, and double click on the CD. If you downloaded ARM Sourcery G++ Lite, double-click on the installer.
After the installer starts, follow the on-screen dialogs to install ARM Sourcery G++ Lite.
Some versions of ARM Sourcery G++ Lite include the Eclipse Integrated Development Environment. Because Eclipse is an optional component, the installer will allow you to choose whether or not to install it. Eclipse is a Java application, so it requires the Java Runtime Environment (JRE). The Java Runtime Environment is available at no charge from Sun Microsystems Java website. You may download either the Java Runtime Environment (JRE) or the Java Development Kit (JDK). (The JDK includes the JRE.)
You should install the JRE before you install ARM Sourcery G++ Lite so that
ARM Sourcery G++ Lite can automatically determine the location of your JRE. If
you do not install the JRE first, Eclipse may not be able to find the
JRE. In this case, you may reinstall ARM Sourcery G++ Lite, or you may manually
modify your installation as follows. Navigate the
Shortcut tab and click in the
Target field. Press the
End key to move to the end of the field and adjust
the path for javaw
to contain the full path
to the directory in which your JRE was installed. If you accepted
the default installation directory, the correct value will be
similar to
C:\Program Files\Java\jre1.5.0_06\bin\javaw
.
The entire path name should be enclosed in quotation marks.
You do not need to be a system administrator to install ARM Sourcery G++ Lite on a
GNU/Linux or Solaris system. You may install ARM Sourcery G++ Lite using any user
account and in any directory to which you have
write access. This guide assumes that you have decided to install
ARM Sourcery G++ Lite in the codesourcery
subdirectory of
your home directory and that the filename of the package you have
downloaded is /path/to/package.tar.bz2
.
First, uncompress the package file:
> bunzip2 /path/to/package.tar.bz2
Next, create the directory in which you wish to install the package:
> mkdir -p $HOME/codesourcery
Change to the installation directory:
> cd $HOME/codesourcery
Unpack the package:
> tar xf /path/to/package.tar
This will have created a subdirectory called
sourceryg++-4.1
or similar. If you are
installing a native toolchain, it is then necessary to run a
post-install script found in the share
directory:
> sourceryg++-4.1/share/postinst-*