OAR

RTEMS 4.0.0 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.10p-src.tar.gz
tar xzf ../archive/binutils-2.9.1.tar.gz
tar xzf ../archive/newlib-1.8.0.tar.gz
tar xzf ../archive/ada_build_scripts-4.0.0.tgz

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.10p-src.tar.gz
            binutils-2.9.1.tar.gz
            newlib-1.8.0.tar.gz
            rtems-4.0.0.tgz
            ada_build_scripts-4.0.0.tgz
            gcc-2.8.1-rtems-diff-19980527.gz
            binutils-2.9.1-rtems-diff-19981027.gz
            newlib-1.8.0-rtems-diff-19981027.gz
            gnat-3.10p-rtems-diff-19971106.gz
            hello_world_ada.tgz
            bit_ada
        tools/
            binutils-2.9.1/
            gcc-2.8.1/
            gnat-3.10p-src/
            newlib-1.8.0/
            rtems-4.0.0/
            bit_ada
            bit_gdb
            bit_rtems
            common.sh
            user.cfg


PREV UP NEXT Bookshelf Getting Started with GNAT/RTEMS

Copyright © 1988-1998 OAR Corporation