NOTE: This step is required if building any of the tools without using RPM. It is NOT required if using the procedure described in Using RPM to Build Tools. This section describes the process of unarchiving the tools that comprise an RTEMS toolset.
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
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
Assuming you are building a complete toolset, after all of the 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/ variable tarballs variable patches tools/ various tool source trees
Copyright © 1988-2008 OAR Corporation