r1067 - in trunk/BOOK: final-system/64 final-system/common final-system/mips final-system/mips64 final-system/mips64-64 final-system/multilib introduction/common

ken at linuxfromscratch.org ken at linuxfromscratch.org
Fri Jan 13 05:19:14 PST 2006


Author: ken
Date: 2006-01-13 06:19:13 -0700 (Fri, 13 Jan 2006)
New Revision: 1067

Modified:
   trunk/BOOK/final-system/64/gcc.xml
   trunk/BOOK/final-system/common/gcc.xml
   trunk/BOOK/final-system/mips/gcc.xml
   trunk/BOOK/final-system/mips64-64/gcc.xml
   trunk/BOOK/final-system/mips64/gcc.xml
   trunk/BOOK/final-system/multilib/gcc.xml
   trunk/BOOK/introduction/common/changelog.xml
Log:
Make gccbug use mktemp, from LFS.

Modified: trunk/BOOK/final-system/64/gcc.xml
===================================================================
--- trunk/BOOK/final-system/64/gcc.xml	2006-01-13 12:51:36 UTC (rev 1066)
+++ trunk/BOOK/final-system/64/gcc.xml	2006-01-13 13:19:13 UTC (rev 1067)
@@ -36,6 +36,14 @@
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/gcc.xml"
+    xpointer="xpointer(//*[@os='e1'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/gcc.xml"
+    xpointer="xpointer(//*[@os='e2'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/gcc.xml"
     xpointer="xpointer(//*[@os='f'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"

Modified: trunk/BOOK/final-system/common/gcc.xml
===================================================================
--- trunk/BOOK/final-system/common/gcc.xml	2006-01-13 12:51:36 UTC (rev 1066)
+++ trunk/BOOK/final-system/common/gcc.xml	2006-01-13 13:19:13 UTC (rev 1067)
@@ -41,6 +41,14 @@
 
 <screen os="e"><userinput>sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in</userinput></screen>
 
+    <para os="e1">GCC provides a <command>gccbug</command> script which detects at
+    compile time whether mktemp is present, and hardcodes the result in a test.
+    This will cause the script to fall back to using less random names for
+    temporary files.  We will be installing mktemp later, so the following sed
+    will simulate its presence.</para>
+
+<screen os="e2">sed -i 's/@have_mktemp_command@/yes/' gcc/gccbug.in</screen>
+
     <para os="f">The GCC documentation recommends building GCC outside of the source
     directory in a dedicated build directory:</para>
 

Modified: trunk/BOOK/final-system/mips/gcc.xml
===================================================================
--- trunk/BOOK/final-system/mips/gcc.xml	2006-01-13 12:51:36 UTC (rev 1066)
+++ trunk/BOOK/final-system/mips/gcc.xml	2006-01-13 13:19:13 UTC (rev 1067)
@@ -36,6 +36,14 @@
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/gcc.xml"
+    xpointer="xpointer(//*[@os='e1'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/gcc.xml"
+    xpointer="xpointer(//*[@os='e2'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/gcc.xml"
     xpointer="xpointer(//*[@os='f'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"

Modified: trunk/BOOK/final-system/mips64/gcc.xml
===================================================================
--- trunk/BOOK/final-system/mips64/gcc.xml	2006-01-13 12:51:36 UTC (rev 1066)
+++ trunk/BOOK/final-system/mips64/gcc.xml	2006-01-13 13:19:13 UTC (rev 1067)
@@ -39,6 +39,14 @@
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/gcc.xml"
+    xpointer="xpointer(//*[@os='e1'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/gcc.xml"
+    xpointer="xpointer(//*[@os='e2'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/gcc.xml"
     xpointer="xpointer(//*[@os='f'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"

Modified: trunk/BOOK/final-system/mips64-64/gcc.xml
===================================================================
--- trunk/BOOK/final-system/mips64-64/gcc.xml	2006-01-13 12:51:36 UTC (rev 1066)
+++ trunk/BOOK/final-system/mips64-64/gcc.xml	2006-01-13 13:19:13 UTC (rev 1067)
@@ -47,6 +47,14 @@
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/gcc.xml"
+    xpointer="xpointer(//*[@os='e1'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/gcc.xml"
+    xpointer="xpointer(//*[@os='e2'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/gcc.xml"
     xpointer="xpointer(//*[@os='f'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"

Modified: trunk/BOOK/final-system/multilib/gcc.xml
===================================================================
--- trunk/BOOK/final-system/multilib/gcc.xml	2006-01-13 12:51:36 UTC (rev 1066)
+++ trunk/BOOK/final-system/multilib/gcc.xml	2006-01-13 13:19:13 UTC (rev 1067)
@@ -31,6 +31,14 @@
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../common/gcc.xml"
+    xpointer="xpointer(//*[@os='e1'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/gcc.xml"
+    xpointer="xpointer(//*[@os='e2'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/gcc.xml"
     xpointer="xpointer(//*[@os='f'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"

Modified: trunk/BOOK/introduction/common/changelog.xml
===================================================================
--- trunk/BOOK/introduction/common/changelog.xml	2006-01-13 12:51:36 UTC (rev 1066)
+++ trunk/BOOK/introduction/common/changelog.xml	2006-01-13 13:19:13 UTC (rev 1067)
@@ -46,6 +46,9 @@
         <listitem>
 	  <para>[ken] - Alter bison to build repeatably, from LFS.</para> 
 	</listitem>
+        <listitem>
+	  <para>[ken] - Alter gccbug to use mktemp, from LFS.</para> 
+	</listitem>
       </itemizedlist>
     </listitem>
 	




More information about the cross-lfs mailing list