Getting Started with GNAT/RTEMS
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.12p-src.tar.gz tar xzf ../archive/binutils-2.9.1.tar.gz tar xzf ../archive/newlib-1.8.2.tar.gz tar xzf ../archive/c_build_scripts-4.5.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.12p-src.tar.gz
binutils-2.9.1.tar.gz
newlib-1.8.2.tar.gz
rtems-4.5.0.tgz
c_build_scripts-4.5.0.tgz
gcc-2.8.1-rtems-gnat-3.12p-20000429.diff.gz
binutils-2.9.1-rtems-gnat-3.12p-20000429.diff.gz
newlib-1.8.2-rtems-20000501.diff.gz
gnat-3.12p-rtems-20000429.diff.gz
hello_world_ada.tgz
bit_ada
tools/
binutils-2.9.1/
gcc-2.8.1/
gnat-3.12p-src/
newlib-1.8.2/
bit_ada
bit_gdb
bit_rtems
common.sh
user.cfg
Getting Started with GNAT/RTEMS
Copyright © 1988-2000 OAR Corporation