Author: jim
Date: 2005-04-22 05:07:03 -0600 (Fri, 22 Apr 2005)
New Revision: 5036

Modified:
   branches/cross-lfs/BOOK/cross-tools/glibc.xml
   branches/cross-lfs/BOOK/introduction/changelog.xml
Log:
Fixed glibc full in cross-tools

Modified: branches/cross-lfs/BOOK/cross-tools/glibc.xml
===================================================================
--- branches/cross-lfs/BOOK/cross-tools/glibc.xml       2005-04-22 10:39:54 UTC 
(rev 5035)
+++ branches/cross-lfs/BOOK/cross-tools/glibc.xml       2005-04-22 11:07:03 UTC 
(rev 5036)
@@ -61,13 +61,26 @@
 
 <para>Next, prepare Glibc for compilation:</para>
 
-<screen><userinput>CC="${LFS_TARGET}-gcc" AR="${LFS_TARGET}-ar" \
+<para arch="alpha;ppc;x86;">For NPTL enabled systems we will need to add the 
following lines to config.cache</para>
+<screen>echo "libc_cv_forced_unwind=yes" > config.cache
+echo "libc_cv_c_cleanup=yes" >> config.cache</screen>
+
+<screen arch="alpha;ppc;x86;"><userinput>CC="${LFS_TARGET}-gcc" 
AR="${LFS_TARGET}-ar" \
     RANLIB="${LFS_TARGET}-ranlib" \
     ../glibc-&glibc-version;/configure --prefix=/tools \
-    --host=${LFS_HOST} --target=${LFS_TARGET} \
+    --host=${LFS_HOST} --build=${LFS_TARGET} \
     --disable-profile --enable-add-ons \
     --enable-kernel=2.6.0 --with-binutils=/cross-tools/bin \
     --without-gd --with-headers=/tools/include \
+    --disable-selinux --cache-file=config.cache</userinput></screen>
+
+<screen arch="raq2"><userinput>CC="${LFS_TARGET}-gcc" AR="${LFS_TARGET}-ar" \
+    RANLIB="${LFS_TARGET}-ranlib" \
+    ../glibc-&glibc-version;/configure --prefix=/tools \
+    --host=${LFS_HOST} --build=${LFS_TARGET} \
+    --disable-profile --enable-add-ons \
+    --enable-kernel=2.6.0 --with-binutils=/cross-tools/bin \
+    --without-gd --with-headers=/tools/include \
     --disable-selinux</userinput></screen>
 
 <para>The meaning of the configure options:</para>

Modified: branches/cross-lfs/BOOK/introduction/changelog.xml
===================================================================
--- branches/cross-lfs/BOOK/introduction/changelog.xml  2005-04-22 10:39:54 UTC 
(rev 5035)
+++ branches/cross-lfs/BOOK/introduction/changelog.xml  2005-04-22 11:07:03 UTC 
(rev 5036)
@@ -102,6 +102,7 @@
 and temp-tools</para></listitem>
 <listitem><para>Fixed Typo.</para></listitem>
 <listitem><para>Fixed changelog.</para></listitem>
+<listitem><para>Fixed build issue glibc-full in cross-tools.</para></listitem>
 </itemizedlist>
 </listitem>
 </itemizedlist>

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to