r4214 - in trunk/BOOK: chapter01 chapter05

jeremy at linuxfromscratch.org jeremy at linuxfromscratch.org
Sun Sep 26 02:25:43 PDT 2004


Author: jeremy
Date: 2004-09-26 03:25:41 -0600 (Sun, 26 Sep 2004)
New Revision: 4214

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter05/glibc.xml
Log:
Added --with-headers back to glibc chapter 5

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2004-09-26 07:55:43 UTC (rev 4213)
+++ trunk/BOOK/chapter01/changelog.xml	2004-09-26 09:25:41 UTC (rev 4214)
@@ -92,6 +92,11 @@
 </itemizedlist>
 </listitem>
 
+<listitem><para>September 25th, 2004 [jeremy]: Added the --with-headers flag
+back to glibc chapter 5.  Numerous reports on list indicated that without
+this flag, glibc would grab headers from the host, rather than the ones we
+installed to /tools/include.</para></listitem>
+
 <listitem><para>September 25th, 2004 [jeremy]: Upgraded to hotplug-2004_09_23.
 This includes Alexander's improved isapnp detection script.</para></listitem>
 

Modified: trunk/BOOK/chapter05/glibc.xml
===================================================================
--- trunk/BOOK/chapter05/glibc.xml	2004-09-26 07:55:43 UTC (rev 4213)
+++ trunk/BOOK/chapter05/glibc.xml	2004-09-26 09:25:41 UTC (rev 4214)
@@ -47,7 +47,7 @@
 <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 @@
 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>




More information about the lfs-book mailing list