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

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


Author: jhuntwork
Date: 2005-05-08 16:22:21 -0600 (Sun, 08 May 2005)
New Revision: 5258

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

Modified: branches/cross-lfs/BOOK/cross-tools/gcc-static.xml
===================================================================
--- branches/cross-lfs/BOOK/cross-tools/gcc-static.xml	2005-05-08 22:02:15 UTC (rev 5257)
+++ branches/cross-lfs/BOOK/cross-tools/gcc-static.xml	2005-05-08 22:22:21 UTC (rev 5258)
@@ -49,6 +49,13 @@
 #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
 #define STARTFILE_PREFIX_SPEC \"/tools/lib/\"" >> gcc/config/rs6000/linux.h</userinput></screen>
@@ -69,11 +76,16 @@
 
 <para>Prepare GCC for compilation:</para>
 
-<screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
+<screen arch="ppc;raq2;x86;sparc;"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \
     --host=${LFS_HOST} --target=${LFS_TARGET} \
     --with-local-prefix=/tools --disable-nls --disable-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 22:02:15 UTC (rev 5257)
+++ branches/cross-lfs/BOOK/introduction/changelog.xml	2005-05-08 22:22:21 UTC (rev 5258)
@@ -110,6 +110,7 @@
 <listitem><para>Added Sparc64 version entity to bookinfo</para></listitem>
 <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>
 </itemizedlist>
 </listitem>
 </itemizedlist>




More information about the lfs-book mailing list