From e69a59f2e44d780a6ca26e71b96ab86e58b0fe58 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Fri, 19 Apr 2002 18:27:01 +0000 Subject: various fixes git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1840 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/binutils-exp.xml | 2 +- chapter05/binutils-inst.xml | 9 +++++---- chapter05/fileutils-inst.xml | 6 +++--- chapter05/gcc-inst.xml | 11 ++++++----- chapter05/kernel.xml | 2 +- 5 files changed, 16 insertions(+), 14 deletions(-) (limited to 'chapter05') diff --git a/chapter05/binutils-exp.xml b/chapter05/binutils-exp.xml index 6722b5dda..1f631d55f 100644 --- a/chapter05/binutils-exp.xml +++ b/chapter05/binutils-exp.xml @@ -2,7 +2,7 @@ Command explanations mkdir ../binutils-build: The installation -instructions for Binutils recommend creating a seperate build directory +instructions for Binutils recommend creating a separate build directory instead of compiling the package inside the source tree. So, we create a binutils-build directory and work from there. diff --git a/chapter05/binutils-inst.xml b/chapter05/binutils-inst.xml index a64e6b687..55beb8d9f 100644 --- a/chapter05/binutils-inst.xml +++ b/chapter05/binutils-inst.xml @@ -2,10 +2,11 @@ Installation of Binutils This package is known to behave badly when you have changed its default -optimization flags (including the -march and -mcpu options). Binutils is -best left alone, so we recommend you unsetting CFLAGS, CXXFLAGS and other -such variables/settings that would change the default optimization that -it comes with. +optimization flags (including the -march and -mcpu options). Binutils is +best left alone. Therefore, if you have defined any environment variables +that override default optimizations, such as CFLAGS and CXXFLAGS, we +recommend unsetting or modifying them when building binutils. You have been +warned. Install Binutils by running the following commands: diff --git a/chapter05/fileutils-inst.xml b/chapter05/fileutils-inst.xml index 9bd395ac6..6d630b2c7 100644 --- a/chapter05/fileutils-inst.xml +++ b/chapter05/fileutils-inst.xml @@ -1,7 +1,7 @@ Installation of Fileutils -The programs from a statically linked fileutils package may cause +The programs from a statically linked Fileutils package may cause segmentation faults on certain systems, if your distribution has Glibc-2.2.3 or higher installed. It also seems to happen mostly on machines powered by an AMD CPU, but there is a case or two where an Intel system @@ -26,7 +26,7 @@ sed -e 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \    -e 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \    lib/Makefile.in.backup > lib/Makefile.in -Install fileutils by running the following commands: +Install Fileutils by running the following commands: ./configure --disable-nls \    --prefix=$LFS/usr --bindir=$LFS/bin && @@ -35,7 +35,7 @@ make install && cd $LFS/usr/bin && ln -sf ../../bin/install -Once you have installed fileutils, you can test whether the +Once you have installed Fileutils, you can test whether the segmentation fault problem has been avoided by running $LFS/bin/ls. If this works, then you are OK. If not, then you need to re-do the installation using the sed commands if diff --git a/chapter05/gcc-inst.xml b/chapter05/gcc-inst.xml index ca7244637..3b52c7dc5 100644 --- a/chapter05/gcc-inst.xml +++ b/chapter05/gcc-inst.xml @@ -1,11 +1,12 @@ Installation of GCC -This package is known to behave badly when you have changed its default -optimization flags (including the -march and -mcpu options). GCC is best -left alone, so we recommend you unsetting CFLAGS, CXXFLAGS and other -such variables/settings that would change the default optimization that -it comes with. +This package is known to behave badly when you have changed its +default optimization flags (including the -march and -mcpu options). GCC is +best left alone. Therefore, if you have defined any environment variables +that override default optimizations, such as CFLAGS and CXXFLAGS, we +recommend unsetting or modifying them when building binutils. You have +been warned. Install GCC by running the following commands: diff --git a/chapter05/kernel.xml b/chapter05/kernel.xml index 2d1168fac..07839f118 100644 --- a/chapter05/kernel.xml +++ b/chapter05/kernel.xml @@ -1,5 +1,5 @@ -Installing Linux Kernel-&kernel-version; +Installing Linux-&kernel-version; Estimated build time: &kernel-time-static; -- cgit v1.2.3-54-g00ecf