Getting Started with RTEMS for C/C++ Users
While in the tools
directory, unpack the compressed
tar files using the following command sequence:
cd tools tar xzf ../archive/egcs-1.1b.tar.gz tar xzf ../archive/binutils-2.9.1.tar.gz tar xzf ../archive/newlib-1.8.0.tar.gz tar xzf ../archive/c_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
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 tree should look something like the following figure:
/whatever/prefix/you/choose/ archive/ egcs-1.1b.tar.gz binutils-2.9.1.tar.gz newlib-1.8.0.tar.gz rtems-4.0.0.tgz c_build_scripts-4.0.0.tgz egcs-1.1b-rtems-diff-19981027.gz binutils-2.9.1-rtems-diff-19981027.gz newlib-1.8.0-rtems-diff-19981027.gz hello_world_c.tgz bit tools/ binutils-2.9.1/ egcs-1.1b/ newlib-1.8.0/ rtems-4.0.0/ bit bit_gdb bit_rtems common.sh user.cfg
Getting Started with RTEMS for C/C++ Users
Copyright © 1988-1998 OAR Corporation