[Clfs-commits] commit: r3977 - in /branches/clfs-embedded/BOOK: cross-tools/arm/ cross-tools/common/ cross-tools/mips/ cross-tools/x86/ final-system/common/ introduction/common/

svn at cross-lfs.org svn at cross-lfs.org
Sat Aug 16 04:32:01 PDT 2008


Author: mlankhorst
Date: Sat Aug 16 11:32:01 2008
New Revision: 3977

Log:
Get rid of CLFS_HOST

Modified:
    branches/clfs-embedded/BOOK/cross-tools/arm/variables.xml
    branches/clfs-embedded/BOOK/cross-tools/common/binutils.xml
    branches/clfs-embedded/BOOK/cross-tools/common/gcc-final.xml
    branches/clfs-embedded/BOOK/cross-tools/common/gcc-static.xml
    branches/clfs-embedded/BOOK/cross-tools/mips/variables.xml
    branches/clfs-embedded/BOOK/cross-tools/x86/variables.xml
    branches/clfs-embedded/BOOK/final-system/common/e2fsprogs.xml
    branches/clfs-embedded/BOOK/introduction/common/askforhelp.xml

Modified: branches/clfs-embedded/BOOK/cross-tools/arm/variables.xml
==============================================================================
--- branches/clfs-embedded/BOOK/cross-tools/arm/variables.xml (original)
+++ branches/clfs-embedded/BOOK/cross-tools/arm/variables.xml Sat Aug 16 11:32:01 2008
@@ -18,22 +18,13 @@
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
   href="../x86/variables.xml"
-  xpointer="xpointer(//*[@os='b'])"/>
-
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/variables.xml"
-  xpointer="xpointer(//*[@os='c'])"/>
-
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/variables.xml"
   xpointer="xpointer(//*[@os='d'])"/>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
   href="../x86/variables.xml"
   xpointer="xpointer(//*[@os='e'])"/>
 
-<screen os="f"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" >> ~/.bashrc
-echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc</userinput></screen>
+<screen os="f"><userinput>echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc</userinput></screen>
 
   <table os="g">
     <title>Processor Type and  Target Triplets</title>

Modified: branches/clfs-embedded/BOOK/cross-tools/common/binutils.xml
==============================================================================
--- branches/clfs-embedded/BOOK/cross-tools/common/binutils.xml (original)
+++ branches/clfs-embedded/BOOK/cross-tools/common/binutils.xml Sat Aug 16 11:32:01 2008
@@ -50,8 +50,8 @@
     <para os="d">Prepare Binutils for compilation:</para>
 
 <screen os="e"><userinput>../binutils-&binutils-version;/configure --prefix=${CLFS}/cross-tools \
-   --host=${CLFS_HOST} --target=${CLFS_TARGET} --with-sysroot=${CLFS} \
-   --disable-nls --enable-shared --disable-multilib</userinput></screen>
+   --target=${CLFS_TARGET} --with-sysroot=${CLFS} --disable-nls \
+   --enable-shared --disable-multilib</userinput></screen>
 
     <variablelist os="f">
       <title>The meaning of the configure options:</title>
@@ -65,21 +65,12 @@
         </listitem>
       </varlistentry>
 
-      <varlistentry os="f2">
-        <term><parameter>--host=${CLFS_HOST}</parameter></term>
-        <listitem>
-          <para>When used with --target, this creates a cross-architecture
-          executable that creates files for ${CLFS_TARGET} but runs on
-          ${CLFS_HOST}.</para>
-        </listitem>
-      </varlistentry>
-
       <varlistentry os="f3">
         <term><parameter>--target=${CLFS_TARGET}</parameter></term>
         <listitem>
           <para>When used with --host, this creates a cross-architecture
           executable that creates files for ${CLFS_TARGET} but runs on
-          ${CLFS_HOST}.</para>
+          the host system.</para>
         </listitem>
       </varlistentry>
 

Modified: branches/clfs-embedded/BOOK/cross-tools/common/gcc-final.xml
==============================================================================
--- branches/clfs-embedded/BOOK/cross-tools/common/gcc-final.xml (original)
+++ branches/clfs-embedded/BOOK/cross-tools/common/gcc-final.xml Sat Aug 16 11:32:01 2008
@@ -59,7 +59,7 @@
     xpointer="xpointer(//*[@os='e'])"/>
 
 <screen os="ae"><userinput>../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \
-    --host=${CLFS_HOST} --target=${CLFS_TARGET} --disable-multilib \
+    --target=${CLFS_TARGET} --disable-multilib \
     --with-sysroot=${CLFS} --disable-nls --enable-shared \
     --enable-languages=c --enable-__cxa_atexit \
     --enable-c99 --enable-long-long --enable-threads=posix</userinput></screen>

Modified: branches/clfs-embedded/BOOK/cross-tools/common/gcc-static.xml
==============================================================================
--- branches/clfs-embedded/BOOK/cross-tools/common/gcc-static.xml (original)
+++ branches/clfs-embedded/BOOK/cross-tools/common/gcc-static.xml Sat Aug 16 11:32:01 2008
@@ -52,7 +52,7 @@
     <para os="e">Prepare GCC for compilation:</para>
 
 <screen os="ae"><userinput>../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \
-    --host=${CLFS_HOST} --target=${CLFS_TARGET} --disable-multilib \
+    --target=${CLFS_TARGET} --disable-multilib \
     --with-sysroot=${CLFS} --disable-nls --disable-shared \
     --disable-threads --enable-languages=c</userinput></screen>
 

Modified: branches/clfs-embedded/BOOK/cross-tools/mips/variables.xml
==============================================================================
--- branches/clfs-embedded/BOOK/cross-tools/mips/variables.xml (original)
+++ branches/clfs-embedded/BOOK/cross-tools/mips/variables.xml Sat Aug 16 11:32:01 2008
@@ -18,14 +18,6 @@
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
   href="../x86/variables.xml"
-  xpointer="xpointer(//*[@os='b'])"/>
-
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/variables.xml"
-  xpointer="xpointer(//*[@os='c'])"/>
-
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/variables.xml"
   xpointer="xpointer(//*[@os='d'])"/>
 
   <para os="d1">Now you will need to set the MIPS LEVEL. This determines how your
@@ -39,8 +31,7 @@
   href="../x86/variables.xml"
   xpointer="xpointer(//*[@os='e'])"/>
 
-<screen os="f"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" >> ~/.bashrc
-echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc
+<screen os="f"><userinput>echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc
 echo export CLFS_MIPS_LEVEL=\""${CLFS_MIPS_LEVEL}\"" >> ~/.bashrc</userinput></screen>
 
   <table os="g">

Modified: branches/clfs-embedded/BOOK/cross-tools/x86/variables.xml
==============================================================================
--- branches/clfs-embedded/BOOK/cross-tools/x86/variables.xml (original)
+++ branches/clfs-embedded/BOOK/cross-tools/x86/variables.xml Sat Aug 16 11:32:01 2008
@@ -14,15 +14,7 @@
 
   <para os="a">During the building of the cross-compile tools you will need to
   set a few variables that will be dependent on your particular needs.
-  The first variable will be the triplet of the <envar>HOST</envar> machine.
-  You will need to set the <envar>CHOST</envar> triplet to match your
-  particular needs. To set this information you can issue the following
-  command:</para>
-
-<screen os="b"><userinput>export CLFS_HOST="$(echo $MACHTYPE | \
-    sed "s/$(echo $MACHTYPE | cut -d- -f2)/cross/")"</userinput></screen>
-
-  <para os="c">Now you will need to set the target triplet for the target
+  You will need to set the target triplet for the target
   architecture. You can do this by running the same command as above, just
   running it on the target machine. If you can't run the command on the
   target machine, you can use the table at the bottom of this page. Set
@@ -30,11 +22,10 @@
 
 <screen os="d"><userinput>export CLFS_TARGET="{target triplet}"</userinput></screen>
 
-  <para os="e">Now we will add these to <filename>~/.bashrc</filename>, just in
+  <para os="e">Now we will add this to <filename>~/.bashrc</filename>, just in
   case you have to exit and restart building later:</para>
 
-<screen os="f"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" >> ~/.bashrc
-echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc</userinput></screen>
+<screen os="f"><userinput>echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc</userinput></screen>
 
   <table os="g">
     <title>Processor Type and  Target Triplets</title>

Modified: branches/clfs-embedded/BOOK/final-system/common/e2fsprogs.xml
==============================================================================
--- branches/clfs-embedded/BOOK/final-system/common/e2fsprogs.xml (original)
+++ branches/clfs-embedded/BOOK/final-system/common/e2fsprogs.xml Sat Aug 16 11:32:01 2008
@@ -35,9 +35,9 @@
 
     <para os="c">Prepare E2fsprogs for compilation:</para>
 
-<screen os="d"><userinput>CC="${CC} ${BUILD} -Os" ../configure --build=${CLFS_HOST} \
-    --host=${CLFS_TARGET} --prefix=/usr --with-root-prefix="" \
-    --with-cc="${CC} ${BUILD} -Os" --with-linker=${LD}</userinput></screen>
+<screen os="d"><userinput>CC="${CC} ${BUILD} -Os" ../configure --host=${CLFS_TARGET} \
+    --prefix=/usr --with-root-prefix="" --with-cc="${CC} ${BUILD} -Os" \
+    --with-linker=${LD}</userinput></screen>
 
     <variablelist os="e">
       <title>The meaning of the configure options:</title>

Modified: branches/clfs-embedded/BOOK/introduction/common/askforhelp.xml
==============================================================================
--- branches/clfs-embedded/BOOK/introduction/common/askforhelp.xml (original)
+++ branches/clfs-embedded/BOOK/introduction/common/askforhelp.xml Sat Aug 16 11:32:01 2008
@@ -46,7 +46,7 @@
         <para>The architecture of the host and target.</para>
       </listitem>
       <listitem>
-        <para>The value of the ${CLFS_HOST}, ${CLFS_TARGET}, and ${BUILD}
+        <para>The value of the ${CLFS_TARGET}, and ${BUILD}
         environment variables.</para>
       </listitem>
       <listitem>




More information about the Clfs-commits mailing list