r5183 - in branches/cross-lfs/BOOK: cross-tools introduction

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Fri May 6 08:52:56 PDT 2005


Author: jhuntwork
Date: 2005-05-06 09:52:56 -0600 (Fri, 06 May 2005)
New Revision: 5183

Modified:
   branches/cross-lfs/BOOK/cross-tools/glibc-startfiles.xml
   branches/cross-lfs/BOOK/introduction/changelog.xml
Log:
Updated sparc commands for glibc-startfiles

Modified: branches/cross-lfs/BOOK/cross-tools/glibc-startfiles.xml
===================================================================
--- branches/cross-lfs/BOOK/cross-tools/glibc-startfiles.xml	2005-05-06 15:18:04 UTC (rev 5182)
+++ branches/cross-lfs/BOOK/cross-tools/glibc-startfiles.xml	2005-05-06 15:52:56 UTC (rev 5183)
@@ -27,17 +27,20 @@
 <sect2 role="installation">
 <title>Installation of Glibc Startfiles</title>
 
-<para arch="raq2">Unpack the glibc-linuxthreads-&glibc-version; <emphasis>and</emphasis>
-tarball -- it will unfold into the same directory.</para>
+<para arch="raq2;sparc;">This architecture does not currently support NPTL,
+so we will have to include Glibc Linuxthreads as a threading library.
+Building for a Linuxthreads based glibc you will need to
+unpack the glibc-linuxthreads-&glibc-version; tarball from
+within the glibc-&glibc-version; directory.</para>
 
 <para arch="raq2">The following patch corrects the building of syscall.h:</para>
 
 <screen arch="raq2"><userinput>patch -Np1 -i ../glibc-&glibc-version;-mips_syscall-1.patch</userinput></screen>
 
-<para arch="raq2">NPTL is not supported under this architecture, so we are going to
+<para arch="raq2;sparc;">NPTL is not supported under this architecture, so we are going to
 remove the nptl directory from the Glibc source:</para>
 
-<screen arch="raq2"><userinput>rm -rf nptl*</userinput></screen>
+<screen arch="raq2;sparc;"><userinput>rm -rf nptl*</userinput></screen>
 
 <para>The Glibc documentation recommends building Glibc outside of the source
 directory in a dedicated build directory:</para>
@@ -51,7 +54,7 @@
 <screen><userinput>echo "libc_cv_forced_unwind=yes" > config.cache
 echo "libc_cv_c_cleanup=yes" >> config.cache</userinput></screen>
 
-<para arch="alpha;ppc;x86;">To create NPTL Startfiles using the following configure line:</para>
+<para arch="alpha;ppc;x86;">To create NPTL Startfiles use the following configure line:</para>
 
 <screen arch="alpha;ppc;x86;"><userinput>CC="${LFS_TARGET}-gcc" AR="${LFS_TARGET}-ar" \
     RANLIB="${LFS_TARGET}-ranlib" \
@@ -62,13 +65,14 @@
     --with-binutils=/cross-tools/bin --with-headers=/tools/include \
     --cache-file=config.cache</userinput></screen>
 
-<para arch="raq2">To create Linuxthread Startfiles using the following configure line:</para>
+<para arch="raq2;sparc">To create Linuxthread Startfiles use the following configure line:</para>
 
-<screen arch="raq2"><userinput>CC="${LFS_TARGET}-gcc" AR="${LFS_TARGET}-ar" \
+<screen arch="raq2;sparc;"><userinput>CC="${LFS_TARGET}-gcc" AR="${LFS_TARGET}-ar" \
     RANLIB="${LFS_TARGET}-ranlib" \
     ../glibc-&glibc-version;/configure --prefix=/tools \
     --host=${LFS_TARGET} --build=${LFS_HOST} \
     --without-cvs --disable-profile --enable-add-ons \
+    --with-tls --enable-kernel=2.6.0 --with-__thread \
     --with-binutils=/cross-tools/bin --with-headers=/tools/include</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-05-06 15:18:04 UTC (rev 5182)
+++ branches/cross-lfs/BOOK/introduction/changelog.xml	2005-05-06 15:52:56 UTC (rev 5183)
@@ -102,6 +102,7 @@
 <listitem><para>Created sparc specific linux-libc-headers page.</para></listitem>
 <listitem><para>Updated sparc commands for glibc-headers.</para></listitem>
 <listitem><para>Updated text concerning linuxthreads.</para></listitem>
+<listitem><para>Updated sparc commands for glibc-startfiles.</para></listitem>
 </itemizedlist>
 </listitem>
 </itemizedlist>




More information about the lfs-book mailing list