aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/glibc.xml
diff options
context:
space:
mode:
authorJeremy Utley <jeremy@linuxfromscratch.org>2004-09-26 09:25:41 +0000
committerJeremy Utley <jeremy@linuxfromscratch.org>2004-09-26 09:25:41 +0000
commitcb2892d1e3fa9ba559fa30f9eb7f17b0c8ac743f (patch)
treef19a6a6ac0f38d31373dbd2bd66b22b7cff4e789 /chapter05/glibc.xml
parent3827b0493eea389bf2f65bd176fc01e025cb62df (diff)
Added --with-headers back to glibc chapter 5
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4214 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/glibc.xml')
-rw-r--r--chapter05/glibc.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml
index c16c4df17..cd60ae371 100644
--- a/chapter05/glibc.xml
+++ b/chapter05/glibc.xml
@@ -47,7 +47,7 @@ cd ../glibc-build</userinput></screen>
<screen><userinput>../glibc-&glibc-version;/configure --prefix=/tools \
--disable-profile --enable-add-ons \
--enable-kernel=2.6.0 --with-binutils=/tools/bin \
- --without-gd --without-cvs</userinput></screen>
+ --without-gd --without-cvs --with-headers=/tools/include</userinput></screen>
<para>The meaning of the configure options:</para>
@@ -106,6 +106,14 @@ snapshot. But it's not actually needed these days. We use it because it
suppresses an annoying but harmless warning about a missing
<command>autoconf</command> program.</para></listitem>
</varlistentry>
+
+<varlistentry>
+<term><parameter>--with-headers=/tools/include</parameter></term>
+<listitem><para>This forces glibc to use the linux-libc-headers installed
+in /tools/etc, rather than those on the host, which may be too old to
+support needed functionality.</para></listitem>
+</varlistentry>
+
</variablelist>
<para>During this stage you might see the following warning:</para>