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.tar.gz newlib-1.16.0.tar.gz gcc-4.3.2-rtems4.9-20080917.diff binutils-2.18-rtems4.9-20080211.diff newlib-1.16.0-rtems4.9-20080827.diff tools/ binutils-2.18/ gcc-4.3.2/ newlib-1.16.0/
Copyright © 1988-2008 OAR Corporation