RTEMS Logo

RTEMS 4.10.1 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.3.2.tar.bz2
            binutils-2.18.91.tar.gz
            newlib-1.16.0.tar.gz
            gcc-4.3.2-rtems4.10-20080917.diff
            newlib-1.16.0-rtems4.10-20080925.diff
        tools/
            binutils-2.18.91/
            gcc-4.3.2/
            newlib-1.16.0/


PREV UP NEXT Bookshelf Getting Started with RTEMS

Copyright © 1988-2008 OAR Corporation