From c18d2610f1dcc4f9800f45bd9aa30080487c6313 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Thu, 6 Jun 2002 17:53:34 +0000 Subject: fix up chapter 5 explanations git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1972 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 3 +++ chapter05/fileutils-exp.xml | 4 ---- chapter05/gcc-exp.xml | 11 +++-------- index.xml | 4 ++-- 4 files changed, 8 insertions(+), 14 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 91045404b..2ecd3dfac 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -45,6 +45,9 @@ +June 6th, 2002 [markh] - Chapter 05 - Tidy up +explanations following the /static change. + June 5th, 2002 [timothy] Preface - Who would not want to read this book: applied a revised version of Scot's grammar patch. diff --git a/chapter05/fileutils-exp.xml b/chapter05/fileutils-exp.xml index 2accc77ed..65d19c2c1 100644 --- a/chapter05/fileutils-exp.xml +++ b/chapter05/fileutils-exp.xml @@ -1,10 +1,6 @@ Command explanations -cp lib/Makefile.in lib/Makefile.in.backup : We -run this command in order to keep a backup of the file we are about to -change. - patch -Np1 -i ../fileutils-&fileutils-version;.patch: 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 all of the fileutils programs causing segmentation faults once chroot is diff --git a/chapter05/gcc-exp.xml b/chapter05/gcc-exp.xml index d79d92c14..b0aabec83 100644 --- a/chapter05/gcc-exp.xml +++ b/chapter05/gcc-exp.xml @@ -5,7 +5,7 @@ This is the equivalent to make LDFLAGS=-static as we use with other packages to compile them statically. ---prefix=/usr: This is NOT a typo. GCC hard +--prefix=/static: This is NOT a typo. GCC hard 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 make install command later. @@ -18,13 +18,8 @@ the --enable-languages parameter can be omitted. --enable-threads=posix: This enables C++ exception handling for multithreaded code. -ln -sf ../usr/bin/cpp: This -creates the $LFS/lib/cpp symlink. Some packages explicitly try to find -cpp in /lib. - -ln -sf ../bin/cpp: This -creates the $LFS/usr/lib/cpp symlink as there are packages that expect -cpp to be in /usr/lib. +ln -s gcc $LFS/static/bin/cc: This +creates the $LFS/static/bin/gcc symlink which some packages need. diff --git a/index.xml b/index.xml index 84d02257c..784a0d59c 100644 --- a/index.xml +++ b/index.xml @@ -4,8 +4,8 @@ - - + + -- cgit v1.2.3-54-g00ecf