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

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Sun May 8 15:50:58 PDT 2005


Author: jhuntwork
Date: 2005-05-08 16:50:47 -0600 (Sun, 08 May 2005)
New Revision: 5259

Modified:
   branches/cross-lfs/BOOK/cross-tools/glibc-startfiles.xml
   branches/cross-lfs/BOOK/introduction/changelog.xml
Log:
Added Sparc64 specific instructions to glibc-startfiles in cross-tools (32-bit)

Modified: branches/cross-lfs/BOOK/cross-tools/glibc-startfiles.xml
===================================================================
--- branches/cross-lfs/BOOK/cross-tools/glibc-startfiles.xml	2005-05-08 22:22:21 UTC (rev 5258)
+++ branches/cross-lfs/BOOK/cross-tools/glibc-startfiles.xml	2005-05-08 22:50:47 UTC (rev 5259)
@@ -27,7 +27,7 @@
 <sect2 role="installation">
 <title>Installation of Glibc Startfiles</title>
 
-<para arch="raq2;sparc;">This architecture does not currently support NPTL,
+<para arch="raq2;sparc;sparc64;">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
@@ -37,10 +37,10 @@
 
 <screen arch="raq2"><userinput>patch -Np1 -i ../glibc-&glibc-version;-mips_syscall-1.patch</userinput></screen>
 
-<para arch="raq2;sparc;">NPTL is not supported under this architecture, so we are going to
+<para arch="raq2;sparc;sparc64;">NPTL is not supported under this architecture, so we are going to
 remove the nptl directory from the Glibc source:</para>
 
-<screen arch="raq2;sparc;"><userinput>rm -rf nptl*</userinput></screen>
+<screen arch="raq2;sparc;sparc64;"><userinput>rm -rf nptl*</userinput></screen>
 
 <para>The Glibc documentation recommends building Glibc outside of the source
 directory in a dedicated build directory:</para>
@@ -65,7 +65,7 @@
     --with-binutils=/cross-tools/bin --with-headers=/tools/include \
     --cache-file=config.cache</userinput></screen>
 
-<para arch="raq2;sparc">To create Linuxthread Startfiles use the following configure line:</para>
+<para arch="raq2;sparc;sparc64;">To create Linuxthread Startfiles use the following configure line:</para>
 
 <screen arch="raq2;sparc;"><userinput>CC="${LFS_TARGET}-gcc" AR="${LFS_TARGET}-ar" \
     RANLIB="${LFS_TARGET}-ranlib" \
@@ -75,6 +75,14 @@
     --enable-kernel=2.6.0 --with-binutils=/cross-tools/bin \
     --with-headers=/tools/include</userinput></screen>
 
+<screen arch="sparc64;"><userinput>CC="${LFS_TARGET}-gcc -m32 -mcpu=ultrasparc" \
+    AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
+    ../glibc-&glibc-version;/configure --prefix=/tools \
+    --host="sparcv9-unknown-linux-gnu" --build=${LFS_HOST} \
+    --without-cvs --disable-profile --enable-add-ons \
+    --enable-kernel=2.6.0 --with-binutils=/cross-tools/bin \
+    --with-headers=/tools/include</userinput></screen>
+
 <para>The meaning of the configure options:</para>
 
 <variablelist>

Modified: branches/cross-lfs/BOOK/introduction/changelog.xml
===================================================================
--- branches/cross-lfs/BOOK/introduction/changelog.xml	2005-05-08 22:22:21 UTC (rev 5258)
+++ branches/cross-lfs/BOOK/introduction/changelog.xml	2005-05-08 22:50:47 UTC (rev 5259)
@@ -111,6 +111,7 @@
 <listitem><para>Added Sparc64 linux-libc-headers page and adjusted sparc linux-libc-headers</para></listitem>
 <listitem><para>Added Sparc64 specific instructions to glibc-headers in cross-tools</para></listitem>
 <listitem><para>Added Sparc64 specific instructions to gcc-static in cross-tools</para></listitem>
+<listitem><para>Added Sparc64 specific instructions to glibc-startfiles in cross-tools (32-bit)</para></listitem>
 </itemizedlist>
 </listitem>
 </itemizedlist>




More information about the lfs-book mailing list