The following is a sample session illustrating the installation
of a C/C++ toolset targeting the SPARC architecture assuming
that GNU tar is installed as tar
for a set of archive
files compressed with GNU Zip (gzip):
cd / tar xzf rtems-4.6-rtems-base-binutils-2.13.2.1-2.tar.gz tar xzf rtems-4.6-sparc-rtems-binutils-2.13.2.1-2.tar.gz tar xzf rtems-4.6-rtems-base-gcc-gcc3.2.3newlib1.11.0-3.tar.gz tar xzf rtems-4.6-sparc-rtems-gcc-gcc3.2.3newlib1.11.0-3.tar.gz tar xzf rtems-4.6-rtems-base-gdb-5.2-1.tar.gz tar xzf rtems-4.6-sparc-rtems-gdb-5.2-1.tar.gz
The following command set is the equivalent command sequence for the same toolset assuming that is was compressed with GNU BZip (bzip2):
cd / tar xjf rtems-4.6-rtems-base-binutils-2.13.2.1-2.tar.bz2 tar xjf rtems-4.6-sparc-rtems-binutils-2.13.2.1-2.tar.bz2 tar xjf rtems-4.6-rtems-base-gcc-gcc3.2.3newlib1.11.0-3.tar.bz2 tar xjf rtems-4.6-sparc-rtems-gcc-gcc3.2.3newlib1.11.0-3.tar.bz2 tar xjf rtems-4.6-rtems-base-gdb-5.2-1.tar.bz2 tar xjf rtems-4.6-sparc-rtems-gdb-5.2-1.tar.bz2
Upon successful completion of the above command sequence, a
C/C++ cross development toolset targeting the SPARC is
installed in /opt/rtems-4.6
. In order to use this toolset,
the directory /opt/rtems-4.6
must be included in your
PATH.
Copyright © 1988-2004 OAR Corporation