Browse Source

fix up chapter 5 explanations

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1972 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Mark Hymers 23 years ago
parent
commit
c18d2610f1
4 changed files with 8 additions and 14 deletions
  1. 3 0
      chapter01/changelog.xml
  2. 0 4
      chapter05/fileutils-exp.xml
  3. 3 8
      chapter05/gcc-exp.xml
  4. 2 2
      index.xml

+ 3 - 0
chapter01/changelog.xml

@@ -45,6 +45,9 @@
 </itemizedlist>
 </itemizedlist>
 </para></listitem>
 </para></listitem>
 
 
+<listitem><para>June 6th, 2002 [markh] - Chapter 05 - Tidy up
+explanations following the /static change.</para></listitem>
+
 <listitem><para>June 5th, 2002 [timothy] Preface - Who would
 <listitem><para>June 5th, 2002 [timothy] Preface - Who would
 not want to read this book: applied a revised version of
 not want to read this book: applied a revised version of
 Scot's grammar patch.</para></listitem>
 Scot's grammar patch.</para></listitem>

+ 0 - 4
chapter05/fileutils-exp.xml

@@ -1,10 +1,6 @@
 <sect2>
 <sect2>
 <title>Command explanations</title>
 <title>Command explanations</title>
 
 
-<para><userinput>cp lib/Makefile.in lib/Makefile.in.backup :</userinput> We 
-run this command in order to keep a backup of the file we are about to
-change.</para>
-
 <para><userinput>patch -Np1 -i ../fileutils-&fileutils-version;.patch:</userinput> This is used to fix a problem with building fileutils statically on
 <para><userinput>patch -Np1 -i ../fileutils-&fileutils-version;.patch:</userinput> This is used to fix a problem with building fileutils statically on
 glibc 2.2.3 systems. If this isn't done, then there is the possibility of
 glibc 2.2.3 systems. If this isn't done, then there is the possibility of
 all of the fileutils programs causing segmentation faults once chroot is
 all of the fileutils programs causing segmentation faults once chroot is

+ 3 - 8
chapter05/gcc-exp.xml

@@ -5,7 +5,7 @@
 This is the equivalent to make LDFLAGS=-static as we use with other
 This is the equivalent to make LDFLAGS=-static as we use with other
 packages to compile them statically.</para>
 packages to compile them statically.</para>
 
 
-<para><userinput>--prefix=/usr:</userinput> This is NOT a typo.  GCC hard
+<para><userinput>--prefix=/static:</userinput> This is NOT a typo.  GCC hard
 codes some paths while compiling and so we need to pass /usr as the
 codes some paths while compiling and so we need to pass /usr as the
 prefix during ./configure.  We pass the real install prefix during the
 prefix during ./configure.  We pass the real install prefix during the
 make install command later.</para>
 make install command later.</para>
@@ -18,13 +18,8 @@ the --enable-languages parameter can be omitted.</para>
 <para><userinput>--enable-threads=posix:</userinput> This enables C++ 
 <para><userinput>--enable-threads=posix:</userinput> This enables C++ 
 exception handling for multithreaded code.</para>
 exception handling for multithreaded code.</para>
 
 
-<para><userinput>ln -sf ../usr/bin/cpp:</userinput> This
-creates the $LFS/lib/cpp symlink. Some packages explicitly try to find
-cpp in /lib.</para>
-
-<para><userinput>ln -sf ../bin/cpp:</userinput> This
-creates the $LFS/usr/lib/cpp symlink as there are packages that expect
-cpp to be in /usr/lib.</para>
+<para><userinput>ln -s gcc $LFS/static/bin/cc:</userinput> This
+creates the $LFS/static/bin/gcc symlink which some packages need.</para>
 
 
 </sect2>
 </sect2>
 
 

+ 2 - 2
index.xml

@@ -4,8 +4,8 @@
 
 
 <!ENTITY book SYSTEM "book/book.xml">
 <!ENTITY book SYSTEM "book/book.xml">
 
 
-<!ENTITY version "20020605">
-<!ENTITY releasedate "June 5th, 2002">
+<!ENTITY version "20020606">
+<!ENTITY releasedate "June 6th, 2002">
 
 
 <!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
 <!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
 <!ENTITY http-root "http://ftp.linuxfromscratch.org">
 <!ENTITY http-root "http://ftp.linuxfromscratch.org">