From b2e37958d4e85b496579bd75d3319cca6989adb5 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 28 Jun 2002 19:16:49 +0000 Subject: 2001-06-28 Joel Sherrill * buildc.t, gdb.t: Per PR54, updated to reflect multiple compression schemes including bzip2. --- doc/started/ChangeLog | 5 +++++ doc/started/buildc.t | 16 +++++++++++----- doc/started/gdb.t | 11 ++++++++++- 3 files changed, 26 insertions(+), 6 deletions(-) diff --git a/doc/started/ChangeLog b/doc/started/ChangeLog index 8a9a374ebc..12c5e44676 100644 --- a/doc/started/ChangeLog +++ b/doc/started/ChangeLog @@ -1,3 +1,8 @@ +2001-06-28 Joel Sherrill + + * buildc.t, gdb.t: Per PR54, updated to reflect multiple compression + schemes including bzip2. + 2002-03-27 Ralf Corsepius * pictures/Makefile.am: Remove AUTOMAKE_OPTIONS. diff --git a/doc/started/buildc.t b/doc/started/buildc.t index 3bccc79e83..e2123fbae9 100644 --- a/doc/started/buildc.t +++ b/doc/started/buildc.t @@ -119,17 +119,23 @@ using the procedures described in @ref{Using configure and make} or @ref{Using the bit Script}. It is @b{NOT} required if using the procedure described in @ref{Using RPM to Build BINUTILS GCC and NEWLIB}. +GNU source distributions are archived using @code{tar} and +compressed using either @code{gzip} or @code{bzip}. +If compressed with @code{gzip}, the extension @code{.gz} is used. +If compressed with @code{bzip}, the extension @code{.bz2} is used. + While in the @code{tools} directory, unpack the compressed -tar files using the following command sequence: +tar files for BINUTILS, GCC, and NEWLIB using the appropriate +command based upon the compression program used. @example cd tools -tar xzf ../archive/@value{GCC-TAR} -tar xzf ../archive/@value{BINUTILS-TAR} -tar xzf ../archive/@value{NEWLIB-TAR} +tar xzf ../archive/TOOLNAME.tar.gz # for gzip'ed tools +tar xIf ../archive/TOOLNAME.tar.bz2 # for bzip'ed tools @end example -After the compressed tar files have been unpacked, the following +After the compressed tar files have been unpacked using +the appropriate commands, the following directories will have been created under tools. @itemize @bullet diff --git a/doc/started/gdb.t b/doc/started/gdb.t index 784f265fc6..6c52e09152 100644 --- a/doc/started/gdb.t +++ b/doc/started/gdb.t @@ -52,7 +52,16 @@ using RPM to build tool binaries. @c @subsection Unarchive the GDB Distribution -Use the following commands to unarchive the GDB distribution: +Unarchive the compressed tar files for GDB using the appropriate +command based upon the compression program used for the source +distribution you downloaded. + +@example +cd tools +tar xzf ../archive/@{GDB-UNTAR}.tar.gz # for gzip'ed gdb +tar xIf ../archive/@{GDB-UNTAR}.tar.bz2 # for bzip'ed gdb +@endif + @example cd tools -- cgit v1.2.3