Kaynağa Gözat

Add a switch to glibc's configure, so that kernel API headers are sought in
/usr/include

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11569 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Pierre Labastie 6 yıl önce
ebeveyn
işleme
115f65b4e4
2 değiştirilmiş dosya ile 11 ekleme ve 1 silme
  1. 1 1
      appendices/dependencies.xml
  2. 10 0
      chapter06/glibc.xml

+ 1 - 1
appendices/dependencies.xml

@@ -225,7 +225,7 @@
 
         <seglistitem>
           <seg>Bash, Binutils, Bison, Coreutils, GCC, Glibc,
-          Grep, Make, and Readline</seg>
+          Grep, Make, Perl, and Readline</seg>
         </seglistitem>
       </segmentedlist>
 

+ 10 - 0
chapter06/glibc.xml

@@ -96,6 +96,7 @@ cd       build</userinput></screen>
              --disable-werror                       \
              --enable-kernel=&min-kernel;                    \
              --enable-stack-protector=strong        \
+             --with-headers=/usr/include            \
              libc_cv_slibdir=/lib</userinput></screen>
 
    <variablelist>
@@ -127,6 +128,15 @@ cd       build</userinput></screen>
         </listitem>
       </varlistentry>
 
+      <varlistentry>
+        <term><parameter>--with-headers=/usr/include</parameter></term>
+        <listitem>
+          <para>This option tells the build system where to find the
+          kernel API headers. By default, those headers are sought in
+          <filename class="directory">/tools/include</filename>.</para>
+        </listitem>
+      </varlistentry>
+
       <varlistentry>
         <term><parameter>libc_cv_slibdir=/lib</parameter></term>
         <listitem>