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

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Mon May 9 06:13:46 PDT 2005


Author: jhuntwork
Date: 2005-05-09 07:13:46 -0600 (Mon, 09 May 2005)
New Revision: 5272

Modified:
   branches/cross-lfs/BOOK/cross-tools/gcc-final.xml
   branches/cross-lfs/BOOK/introduction/changelog.xml
Log:
Cross-tools: Added sparc64 specific instructions to final gcc.

Modified: branches/cross-lfs/BOOK/cross-tools/gcc-final.xml
===================================================================
--- branches/cross-lfs/BOOK/cross-tools/gcc-final.xml	2005-05-09 13:08:45 UTC (rev 5271)
+++ branches/cross-lfs/BOOK/cross-tools/gcc-final.xml	2005-05-09 13:13:46 UTC (rev 5272)
@@ -52,6 +52,13 @@
 <screen arch="sparc"><userinput>echo "
 #undef STARTFILE_PREFIX_SPEC
 #define STARTFILE_PREFIX_SPEC \"/tools/lib/\"" >> gcc/config/sparc/linux.h</userinput></screen>
+
+<screen arch="sparc64"><userinput>echo "
+#undef STARTFILE_PREFIX_SPEC
+#define STARTFILE_PREFIX_SPEC \"/tools/lib/\"" >> gcc/config/sparc/linux.h
+echo "
+#undef STARTFILE_PREFIX_SPEC
+#define STARTFILE_PREFIX_SPEC \"/tools/lib/\"" >> gcc/config/sparc/linux64.h</userinput></screen>
  
 <screen arch="ppc"><userinput>echo "
 #undef STARTFILE_PREFIX_SPEC 
@@ -78,13 +85,20 @@
 
 <para>Prepare GCC for compilation:</para>
 
-<screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
+<screen arch="x86;ppc;sparc;raq2;"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
     --target=${LFS_TARGET} --host=${LFS_HOST} \
     --with-local-prefix=/tools --disable-nls --enable-shared \
     --enable-languages=c,c++ --enable-__cxa_atexit \
     --enable-c99 --enable-long-long --enable-threads=posix \
     --enable-multilib=no</userinput></screen>
 
+<screen arch="sparc64"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
+    --target=${LFS_TARGET} --host=${LFS_HOST} \
+    --with-local-prefix=/tools --disable-nls --enable-shared \
+    --enable-languages=c,c++ --enable-__cxa_atexit \
+    --enable-c99 --enable-long-long --enable-threads=posix \
+    --with-cpu=ultrasparc</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-09 13:08:45 UTC (rev 5271)
+++ branches/cross-lfs/BOOK/introduction/changelog.xml	2005-05-09 13:13:46 UTC (rev 5272)
@@ -102,6 +102,7 @@
 <itemizedlist>
 <listitem><para>May 9, 2005 [jhuntwork]</para>
 <itemizedlist>
+<listitem><para>Cross-tools: Added sparc64 specific instructions to final gcc.</para></listitem>
 <listitem><para>Cross-tools: Fixed sparc64 shared gcc instructions, added full glibc 64-bit.</para></listitem>
 </itemizedlist>
 </listitem>




More information about the lfs-book mailing list