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

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Sun May 8 16:21:00 PDT 2005


Author: jhuntwork
Date: 2005-05-08 17:20:59 -0600 (Sun, 08 May 2005)
New Revision: 5261

Modified:
   branches/cross-lfs/BOOK/cross-tools/gcc-shared.xml
   branches/cross-lfs/BOOK/introduction/changelog.xml
Log:
Added Sparc64 specific instructions to gcc-shared in cross-tools

Modified: branches/cross-lfs/BOOK/cross-tools/gcc-shared.xml
===================================================================
--- branches/cross-lfs/BOOK/cross-tools/gcc-shared.xml	2005-05-08 23:08:53 UTC (rev 5260)
+++ branches/cross-lfs/BOOK/cross-tools/gcc-shared.xml	2005-05-08 23:20:59 UTC (rev 5261)
@@ -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 
@@ -83,11 +90,16 @@
 
 <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 \
     --host=${LFS_HOST} --target=${LFS_TARGET} \
     --with-local-prefix=/tools --disable-nls --enable-shared \
     --enable-multilib=no --enable-languages=c</userinput></screen>
 
+<screen arch="sparc64;"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
+    --host=${LFS_HOST} --target=${LFS_TARGET} \
+    --with-local-prefix=/tools --disable-nls --disable-shared \
+    --with-cpu=ultrasparc --enable-languages=c</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 23:08:53 UTC (rev 5260)
+++ branches/cross-lfs/BOOK/introduction/changelog.xml	2005-05-08 23:20:59 UTC (rev 5261)
@@ -113,6 +113,7 @@
 <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>
 <listitem><para>Added Sparc64 specific instructions to glibc-startfiles in cross-tools (64-bit)</para></listitem>
+<listitem><para>Added Sparc64 specific instructions to gcc-shared in cross-tools</para></listitem>
 </itemizedlist>
 </listitem>
 </itemizedlist>




More information about the lfs-book mailing list