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.1.1.tar.bz2
binutils-2.17.tar.gz
newlib-1.15.0.tar.gz
gcc-4.1.1-rtems-20060909.diff
binutils-2.17-rtems4.8-20061021.diff
newlib-1.15.0-rtems4.8-20061027.diff
tools/
binutils-2.17/
gcc-4.1.1/
newlib-1.15.0/
Copyright © 1988-2004 OAR Corporation