r6640 - in branches/cross-lfs/BOOK: . introduction/common temp-tools/mips64 temp-tools/sparc64 temp-tools/x86_64

jim at linuxfromscratch.org jim at linuxfromscratch.org
Tue Aug 9 11:36:03 PDT 2005


Author: jim
Date: 2005-08-09 12:36:02 -0600 (Tue, 09 Aug 2005)
New Revision: 6640

Modified:
   branches/cross-lfs/BOOK/
   branches/cross-lfs/BOOK/introduction/common/changelog.xml
   branches/cross-lfs/BOOK/temp-tools/mips64/flags.xml
   branches/cross-lfs/BOOK/temp-tools/sparc64/flags.xml
   branches/cross-lfs/BOOK/temp-tools/x86_64/flags.xml
Log:
 r7074 at server:  jim | 2005-08-09 11:35:05 -0700
 Make temp-tools export variables



Property changes on: branches/cross-lfs/BOOK
___________________________________________________________________
Name: svk:merge
   - 7321b066-45f8-0310-a5e2-f63eff31be55:/cross-lfs:7072
dfc39d96-41f8-0310-9e44-b84af8e7c7f6:/books/local:5516
   + 7321b066-45f8-0310-a5e2-f63eff31be55:/cross-lfs:7074
dfc39d96-41f8-0310-9e44-b84af8e7c7f6:/books/local:5516

Modified: branches/cross-lfs/BOOK/introduction/common/changelog.xml
===================================================================
--- branches/cross-lfs/BOOK/introduction/common/changelog.xml	2005-08-09 17:42:46 UTC (rev 6639)
+++ branches/cross-lfs/BOOK/introduction/common/changelog.xml	2005-08-09 18:36:02 UTC (rev 6640)
@@ -202,6 +202,16 @@
 -->
 
     <listitem>
+      <para>August 9, 2005</para>
+      <itemizedlist>
+        <listitem>
+          <para>[jim] - Export build variables in temp-tools to .bash_profile. 
+          Change recommended by Christian Schneider.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>August 8, 2005</para>
       <itemizedlist>
         <listitem>

Modified: branches/cross-lfs/BOOK/temp-tools/mips64/flags.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-tools/mips64/flags.xml	2005-08-09 17:42:46 UTC (rev 6639)
+++ branches/cross-lfs/BOOK/temp-tools/mips64/flags.xml	2005-08-09 18:36:02 UTC (rev 6640)
@@ -21,4 +21,12 @@
 
 <screen><userinput>export LFS_TARGET32="`echo ${MACH_TYPE}| sed -e 's/64//g'`"</userinput></screen>
 
+   <para>To prevent errors when you come back to your build, we will export these
+   variables to prevent any build issues in the future:</para>
+
+<screen><userinput>echo export BUILD32=\""${BUILD32}\"" >> ~/.bash_profile
+echo export BUILDN32=\""${BUILDN32}\"" >> ~/.bash_profile
+echo export BUILD64=\""${BUILD64}\"" >> ~/.bash_profile
+echo export LFS_TARGET32=\""${LFS_TARGET32}\"" >> ~/.bash_profile</userinput></screen>
+
 </sect1>

Modified: branches/cross-lfs/BOOK/temp-tools/sparc64/flags.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-tools/sparc64/flags.xml	2005-08-09 17:42:46 UTC (rev 6639)
+++ branches/cross-lfs/BOOK/temp-tools/sparc64/flags.xml	2005-08-09 18:36:02 UTC (rev 6640)
@@ -14,13 +14,19 @@
   from the table at the bottom of the page.</para>
 
 <screen><userinput>export BUILD32="[BUILD32 entries]"
-export BUILD64="[BUILD64 entries]"
-export GCCTARGET=[GCCTARGET entries]"</userinput></screen>
+export BUILD64="[BUILD64 entries]"</userinput></screen>
 
   <para>You will need to set your host target triplet for 32 bit:</para>
 
 <screen><userinput>export LFS_TARGET32="sparcv9-unknown-linux-gnu"</userinput></screen>
 
+   <para>To prevent errors when you come back to your build, we will export these
+   variables to prevent any build issues in the future:</para>
+
+<screen><userinput>echo export BUILD32=\""${BUILD32}\"" >> ~/.bash_profile
+echo export BUILD64=\""${BUILD64}\"" >> ~/.bash_profile
+echo export LFS_TARGET32=\""${LFS_TARGET32}\"" >> ~/.bash_profile</userinput></screen>
+
   <para>The following table gives the entires for different Sparc 64 capable
   processors. Pick the processor that matches your system.</para>
 
@@ -30,13 +36,11 @@
       <colspec colname="Processor"/>
       <colspec colname="Build32"/>
       <colspec colname="Build64"/>
-      <colspec colname="GCC"/>
       <thead>
         <row>
           <entry>Processor</entry>
           <entry>BUILD32</entry>
           <entry>BUILD64</entry>
-	  <entry>GCCTARGET</entry>
         </row>
       </thead>
       <tbody>
@@ -44,13 +48,11 @@
           <entry>Ultrasparc and Ultrasparc2</entry>
           <entry>-m32 -mcpu=ultrasparc -mtune=ultrasparc</entry>
           <entry>-m64 -mcpu=ultrasparc -mtune=ultrasparc</entry>
-	  <entry>-mcpu=ultrasparc -mtune=ultrasparc</entry>
         </row>
         <row>
           <entry>Ultrasparc3</entry>
           <entry>-m32 -mcpu=ultrasparc3 -mtune=ultrasparc3</entry>
           <entry>-m64 -mcpu=ultrasparc3 -mtune=ultrasparc3</entry>
-	  <entry>-mcpu=ultrasparc3 -mtune=ultrasparc3</entry>
         </row>
       </tbody>
     </tgroup>
@@ -58,3 +60,4 @@
 
 </sect1>
 
+

Modified: branches/cross-lfs/BOOK/temp-tools/x86_64/flags.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-tools/x86_64/flags.xml	2005-08-09 17:42:46 UTC (rev 6639)
+++ branches/cross-lfs/BOOK/temp-tools/x86_64/flags.xml	2005-08-09 18:36:02 UTC (rev 6640)
@@ -20,4 +20,11 @@
 
 <screen><userinput>export LFS_TARGET32="i686-pc-linux-gnu"</userinput></screen>
 
+   <para>To prevent errors when you come back to your build, we will export these
+   variables to prevent any build issues in the future:</para>
+
+<screen><userinput>echo export BUILD32=\""${BUILD32}\"" >> ~/.bash_profile
+echo export BUILD64=\""${BUILD64}\"" >> ~/.bash_profile
+echo export LFS_TARGET32=\""${LFS_TARGET32}\"" >> ~/.bash_profile</userinput></screen>
+
 </sect1>




More information about the lfs-book mailing list