aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorJeremy Utley <jeremy@linuxfromscratch.org>2004-08-28 01:27:45 +0000
committerJeremy Utley <jeremy@linuxfromscratch.org>2004-08-28 01:27:45 +0000
commit9c14ec2337affc3680fb07ca6430710d72ea768c (patch)
treeb087561791717d4df268dab3a0517ff759a1c6ae /chapter05
parentb3c46bf7307f4dc725455b1571505f5a6a4fbb12 (diff)
Experimental Change - Compile glibc against sanitized headers from linux-libc-headers, rather than raw kernel headers
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4059 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/chapter05.xml2
-rw-r--r--chapter05/glibc.xml9
2 files changed, 3 insertions, 8 deletions
diff --git a/chapter05/chapter05.xml b/chapter05/chapter05.xml
index bf810d2fb..dbeb3bf40 100644
--- a/chapter05/chapter05.xml
+++ b/chapter05/chapter05.xml
@@ -14,7 +14,9 @@
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="binutils-pass1.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gcc-pass1.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="linux-libc-headers.xml"/>
+<!--
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="kernel-headers.xml"/>
+-->
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="glibc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="adjusting.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="tcl.xml"/>
diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml
index de1458c2a..bcb7b34dc 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=nptl --with-tls \
--with-__thread --enable-kernel=2.6.0 --with-binutils=/tools/bin \
- --without-gd --without-cvs --with-headers=/tools/glibc-kernheaders</userinput></screen>
+ --without-gd --without-cvs</userinput></screen>
<para>The meaning of the configure options:</para>
@@ -106,13 +106,6 @@ 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/glibc-kernheaders</parameter></term>
-<listitem><para>This tells Glibc to compile against the <quote>raw</quote>
-kernel headers, so that it knows exactly what features the kernel has, and can
-optimize itself accordingly. Not strictly necessary, but nice to have.</para></listitem>
-</varlistentry>
</variablelist>
<para>During this stage you might see the following warning:</para>