aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--appendices/dependencies.xml2
-rw-r--r--chapter06/glibc.xml10
2 files changed, 11 insertions, 1 deletions
diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml
index dc1c1897f..1e9ccb1eb 100644
--- a/appendices/dependencies.xml
+++ b/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>
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index 04a7d6f5f..93d83f80f 100644
--- a/chapter06/glibc.xml
+++ b/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>
@@ -128,6 +129,15 @@ cd build</userinput></screen>
</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>
<para>This variable sets the correct library for all