RTEMS Logo

RTEMS 4.7.1 On-Line Library


Unarchiving the Tools

PREV UP NEXT Bookshelf Getting Started with GNAT/RTEMS

3.3: Unarchiving the Tools

While in the tools directory, unpack the compressed tar files using the following command sequence:

cd tools
tar xzf ../archive/gcc-2.8.1.tar.gz
tar xzf ../archive/gnat-3.13p-src.tar.gz
tar xzf ../archive/binutils-2.10.tar.gz
tar xzf ../archive/newlib-1.8.2.tar.gz
tar xzf ../archive/

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

There will also be a set of scripts in the current directory which aid in building the tools and RTEMS. They are:

When the bit_ada script is executed later in this process, it will automatically create two other subdirectories:

Similarly, the bit_gdb script will create the subdirectory build-${CPU}-gdb and the bit_rtems script will create the subdirectory build-${CPU}-rtems.

The directory tree should look something like the following figure:

/whatever/prefix/you/choose/
        archive/
            gcc-2.8.1.tar.gz
            gnat-3.13p-src.tar.gz
            binutils-2.10.tar.gz
            newlib-1.8.2.tar.gz
            rtems-ss-DATE.tgz

            gcc-2.8.1-rtems-gnat-3.13p-20000429.diff.gz
            binutils-2.10-rtems-gnat-3.13p-20001107.diff
            newlib-1.8.2-rtems-20000606.diff.gz
            gnat-3.13p-rtems-20000829.diff
            hello_world_ada.tgz
            bit_ada
        tools/
            binutils-2.10/
            gcc-2.8.1/
            gnat-3.13p-src/
            newlib-1.8.2/
            bit_ada
            bit_gdb
            bit_rtems
            common.sh
            user.cfg


PREV UP NEXT Bookshelf Getting Started with GNAT/RTEMS

Copyright © 1988-2004 OAR Corporation