The method used to install Sourcery CodeBench Lite depends on your host system and the kind of installation package you have downloaded.
If you have received Sourcery CodeBench Lite on CD, insert the CD in your computer.
On most computers, the installer then starts automatically. If
your computer has been configured not to automatically run CDs,
open My Computer
, and double click on the CD.
If you downloaded Sourcery CodeBench Lite, double-click on the installer.
After the installer starts, follow the on-screen dialogs to install Sourcery CodeBench Lite. The installer is intended to be self-explanatory and on most pages the defaults are appropriate.
You may want to change the install directory pathname and customize the shortcut installation.
When the installer has finished, it asks if you want to launch a viewer for the Getting Started guide, or visit Mentor Embedded.
If you prefer, you can run the installer in console mode rather than
using the graphical interface. To do this, invoke the installer
with the -console
command-line option. For example:
> /path/to/package.exe -console
Start the graphical installer by invoking the executable shell script:
> /bin/sh ./path/to/package.bin
After the installer starts, follow the on-screen dialogs to install Sourcery CodeBench Lite. For additional details on running the installer, see the discussion and screen shots in the Microsoft Windows section above.
If you prefer, or if your host system does not run the
X Window System, you can run the installer in console mode rather than
using the graphical interface. To do this, invoke the installer
with the -console
command-line option. For example:
> /bin/sh ./path/to/package.bin -console
You do not need to be a system administrator to install Sourcery CodeBench Lite
from a compressed archive. You may install Sourcery CodeBench Lite using any user
account and in any directory to which you have
write access. This guide assumes that you have decided to install
Sourcery CodeBench Lite in the $HOME/CodeSourcery
subdirectory of
your home directory and that the filename of the package you have
downloaded is /path/to/package.tar.bz2
. After installation
the toolchain will be in
$HOME/CodeSourcery/sourceryg++-2013.11
.
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