From f2cdbc548b4da843e4842fed1b59936a1f67af9f Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Sat, 27 Jan 2001 01:36:56 +0000 Subject: Remove $LFS references, remove --with-headers git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@50 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/glibc-exp.sgml | 19 ------------------- chapter06/glibc-inst.sgml | 6 ++---- 2 files changed, 2 insertions(+), 23 deletions(-) diff --git a/chapter06/glibc-exp.sgml b/chapter06/glibc-exp.sgml index b325b739d..050de67e5 100644 --- a/chapter06/glibc-exp.sgml +++ b/chapter06/glibc-exp.sgml @@ -1,29 +1,10 @@ Command explanations - -patch -Np1 -i ../glibc-2.1.3.patch: This applies -a patch that fixes a minor bug in Glibc. Glibc defines a few variables -names with illegal characters in the name. Bash-2.03 and older don't -complain about that but Bash-2.04 does and won't compile Glibc properly. - - --enable-add-ons: This enabled the add-ons that we install with Glibc: linuxthreads and crypt. - ---with-headers=$LFS/usr/include: This makes Glibc -use the kernel header files on our LFS system and not the kernel header -files from your starting distribution which may be out-of-date or -modified. - - - -make install_root=$LFS: This is the Glibc way to -specify the equivalent of --prefix=. - - diff --git a/chapter06/glibc-inst.sgml b/chapter06/glibc-inst.sgml index e261844d7..242a5318b 100644 --- a/chapter06/glibc-inst.sgml +++ b/chapter06/glibc-inst.sgml @@ -12,7 +12,7 @@ A few default parameters of Glibc need to be changed, such as the directory where the shared libraries are supposed to be installed in and the directory that contains the system configuration files. For this purpose you need to create the -$LFS/usr/src/glibc-build directory and cd into that directory +/usr/src/glibc-build directory and cd into that directory with: @@ -43,7 +43,7 @@ sysconfdir=/etc Change to the -$LFS/usr/src/glibc-build +/usr/src/glibc-build directory and install Glibc by running the following commands: @@ -53,8 +53,6 @@ directory and install Glibc by running the following commands: ../glibc-2.2.1/configure \    --prefix=/usr --enable-add-ons \ -    --with-headers=$LFS/usr/include - \    --libexecdir=/usr/bin && make && -- cgit v1.2.3-54-g00ecf