RTEMS Logo

RTEMS 4.7.99.2 On-Line Library


Unarchiving the Tools

PREV UP NEXT Bookshelf Getting Started with RTEMS

4.1.2: Unarchiving the Tools

NOTE: This step is required if building BINUTILS, GCC, and NEWLIB using the procedure described in Using configure and make. It is NOT required if using the procedure described in Using RPM to Build BINUTILS GCC and NEWLIB.

GNU source distributions are archived using tar and compressed using either gzip or bzip. If compressed with gzip, the extension .gz is used. If compressed with bzip, the extension .bz2 is used.

While in the tools directory, unpack the compressed tar files for BINUTILS, GCC, and NEWLIB using the appropriate command based upon the compression program used.

cd tools
tar xzf ../archive/TOOLNAME.tar.gz  # for gzip'ed tools
tar xjf ../archive/TOOLNAME.tar.bz2 # for bzip'ed tools

After the compressed tar files have been unpacked using the appropriate commands, the following directories will have been created under tools.

The tree should look something like the following figure:

/whatever/prefix/you/choose/
        archive/
            gcc-4.1.1.tar.bz2
            binutils-2.17.tar.gz
            newlib-1.15.0.tar.gz
            gcc-4.1.1-rtems-20060909.diff
            binutils-2.17-rtems4.8-20061021.diff
            newlib-1.15.0-rtems4.8-20061027.diff
        tools/
            binutils-2.17/
            gcc-4.1.1/
            newlib-1.15.0/


PREV UP NEXT Bookshelf Getting Started with RTEMS

Copyright © 1988-2004 OAR Corporation