فهرست منبع

Remove $LFS references, remove --with-headers

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@50 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 24 سال پیش
والد
کامیت
f2cdbc548b
2فایلهای تغییر یافته به همراه2 افزوده شده و 23 حذف شده
  1. 0 19
      chapter06/glibc-exp.sgml
  2. 2 4
      chapter06/glibc-inst.sgml

+ 0 - 19
chapter06/glibc-exp.sgml

@@ -1,29 +1,10 @@
 <sect2>
 <title>Command explanations</title>
 
-<para>
-<userinput>patch -Np1 -i ../glibc-2.1.3.patch:</userinput>  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.
-</para>
-
 <para>
 <userinput>--enable-add-ons:</userinput> This enabled the add-ons that
 we install with Glibc: linuxthreads and crypt.
 </para>
 
-<para>
-<userinput>--with-headers=$LFS/usr/include:</userinput> 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.
-</para>
-
-<para>
-<userinput>make install_root=$LFS:</userinput> This is the Glibc way to
-specify the equivalent of --prefix=.
-</para>
-
 </sect2>
 

+ 2 - 4
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 <filename class="directory">
-$LFS/usr/src/glibc-build</filename> directory and cd into that directory
+/usr/src/glibc-build</filename> directory and cd into that directory
 with:
 </para>
 
@@ -43,7 +43,7 @@ sysconfdir=/etc
 
 <para>
 Change to the
-<filename class="directory">$LFS/usr/src/glibc-build</filename>
+<filename class="directory">/usr/src/glibc-build</filename>
 directory and install Glibc by running the following commands:
 </para>
 
@@ -53,8 +53,6 @@ directory and install Glibc by running the following commands:
 	<userinput>../glibc-2.2.1/configure \</userinput>
 	<userinput>&nbsp;&nbsp;&nbsp;--prefix=/usr --enable-add-ons 
 		\</userinput>
-	<userinput>&nbsp;&nbsp;&nbsp;--with-headers=$LFS/usr/include 
-		\</userinput>
 	<userinput>&nbsp;&nbsp;&nbsp;--libexecdir=/usr/bin &amp;&amp;
 		</userinput>
 	<userinput>make &amp;&amp;</userinput>