Author: jim
Date: 2005-06-13 16:09:15 -0600 (Mon, 13 Jun 2005)
New Revision: 5912

Modified:
   branches/cross-lfs/BOOK/temp-system/x86_64/gcc.xml
Log:
Gcc in x86_64 temp-system now has the proper CC and CXX flags

Modified: branches/cross-lfs/BOOK/temp-system/x86_64/gcc.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-system/x86_64/gcc.xml  2005-06-13 19:45:46 UTC 
(rev 5911)
+++ branches/cross-lfs/BOOK/temp-system/x86_64/gcc.xml  2005-06-13 22:09:15 UTC 
(rev 5912)
@@ -44,19 +44,19 @@
     <title>Installation of GCC</title>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
-    href="../../cross-tools/x86_64/gcc-static.xml"
+    href="../../cross-tools/mips/gcc-static.xml"
     xpointer="xpointer(//[EMAIL PROTECTED]'installation']/para[1])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
-    href="../../cross-tools/x86_64/gcc-static.xml"
+    href="../../cross-tools/mips/gcc-static.xml"
     xpointer="xpointer(//[EMAIL PROTECTED]'installation']/screen[1])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
-    href="../../cross-tools/x86_64/gcc-static.xml"
+    href="../../cross-tools/mips/gcc-static.xml"
     xpointer="xpointer(//[EMAIL PROTECTED]'installation']/para[2])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
-    href="../../cross-tools/x86_64/gcc-static.xml"
+    href="../../cross-tools/mips/gcc-static.xml"
     xpointer="xpointer(//[EMAIL PROTECTED]'installation']/screen[2])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
@@ -68,11 +68,11 @@
     xpointer="xpointer(//[EMAIL PROTECTED]'installation']/screen[3])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
-    href="../../cross-tools/x86_64/gcc-static.xml"
+    href="../../cross-tools/mips/gcc-static.xml"
     xpointer="xpointer(//[EMAIL PROTECTED]'installation']/para[3])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
-    href="../../cross-tools/x86_64/gcc-static.xml"
+    href="../../cross-tools/mips/gcc-static.xml"
     xpointer="xpointer(//[EMAIL PROTECTED]'installation']/screen[3])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
@@ -95,12 +95,11 @@
     href="../x86/gcc.xml"
     xpointer="xpointer(//[EMAIL PROTECTED]'installation']/para[7])"/>
 
-    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
-    href="../x86/gcc.xml"
-    xpointer="xpointer(//[EMAIL PROTECTED]'installation']/screen[7])"/>
+<screen><userinput>sed -i "[EMAIL PROTECTED]/xgcc@/cross-tools/bin/[EMAIL 
PROTECTED]" \
+   gcc/mklibgcc.in</userinput></screen>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
-    href="../../cross-tools/x86_64/gcc-static.xml"
+    href="../../cross-tools/mips/gcc-static.xml"
     xpointer="xpointer(//[EMAIL PROTECTED]'installation']/important[1])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
@@ -113,8 +112,21 @@
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
     href="../x86/gcc.xml"
-    xpointer="xpointer(//[EMAIL 
PROTECTED]'installation']/para[9]/range-to(//[EMAIL 
PROTECTED]'installation']/para[last()]))"/>
+    xpointer="xpointer(//[EMAIL PROTECTED]'installation']/para[9])"/>
 
+    <para>Now prepare GCC for compilation:</para>
+
+<screen><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \
+    ../gcc-&gcc-version;/configure --prefix=/tools \
+    --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \
+    --libexecdir=/tools/lib --with-local-prefix=/tools --enable-long-long \
+    --enable-c99 --enable-shared --enable-threads=posix --enable-__cxa_atexit \
+    --disable-nls --enable-languages=c,c++ 
--disable-libstdcxx-pch</userinput></screen>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
+    href="../x86/gcc.xml"
+    xpointer="xpointer(//[EMAIL 
PROTECTED]'installation']/variablelist[1]/range-to(//[EMAIL 
PROTECTED]'installation']/para[last()]))"/>
+
   </sect2>
 
   <sect2 role="content">

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to