RTEMS Logo

RTEMS 4.9.5 On-Line Library


Installing Zipped Tar Files

PREV UP NEXT Bookshelf Getting Started with RTEMS

3.2.1: Installing Zipped Tar Files

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.9-binutils-common-<VERSION>-<RPM>.tar.gz
tar xzf rtems-4.9-sparc-rtems4.9-binutils-<VERSION>-<RPM>.tar.gz
tar xzf rtems-4.9-gcc-common-<VERSION>-<RPM>.tar.gz
tar xzf rtems-4.9-sparc-rtems4.9-gcc-<VERSION>-<RPM>.tar.gz
tar xzf rtems-4.9-sparc-rtems4.9-newlib-<VERSION>-<RPM>.tar.gz
tar xzf rtems-4.9-gdb-common-<VERSION>-<RPM>.tar.gz
tar xzf rtems-4.9-sparc-rtems4.9-gdb-<VERSION>-<RPM>.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.9-binutils-common-<VERSION>-<RPM>.tar.bz2
tar xjf rtems-4.9-sparc-rtems4.9-binutils-<VERSION>-<RPM>.tar.bz2
tar xjf rtems-4.9-gcc-common-<VERSION>-<RPM>.tar.bz2
tar xjf rtems-4.9-sparc-rtems4.9-newlib-<VERSION>-<RPM>.tar.bz2
tar xjf rtems-4.9-sparc-rtems4.9-gcc-<VERSION>-<RPM>.tar.bz2
tar xjf rtems-4.9-gdb-common-<VERSION>-<RPM>.tar.bz2
tar xjf rtems-4.9-sparc-rtems4.9-gdb-<VERSION>-<RPM>.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.9. In order to use this toolset, the directory /opt/rtems-4.9 must be included in your PATH.


PREV UP NEXT Bookshelf Getting Started with RTEMS

Copyright © 1988-2008 OAR Corporation