[Clfs-commits] [CLFS Embedded]Cross-LFS Embedded Book branch, master, updated. 2155f6661f1d477d755f90a4db389572c896ba01

git git at cross-lfs.org
Thu Oct 24 15:02:09 PDT 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cross-LFS Embedded Book".

The branch, master has been updated
       via  2155f6661f1d477d755f90a4db389572c896ba01 (commit)
       via  957af3d4779194b874b56cb135f9c65074eac184 (commit)
       via  207b43862616895491bbd7be1079b5ef46a9fba5 (commit)
       via  a954b24303afc698c4246a3c13548de39457e0a1 (commit)
       via  1a129f8035b93265eb91278d2e814bbc9b5834d9 (commit)
       via  ebc4a9bbeb263891ed4d3d881af3cc5e24ce5fe6 (commit)
       via  f96a570cf25b075facd639ebf2a9387ca3385757 (commit)
       via  49f92343bdcca5c4d03f2c2cc5d5019b55a7f467 (commit)
       via  b50528b02df55758786efcc27fe8b769d4403334 (commit)
       via  3bd8481821ee3422fe0f4943ffb5759e2bb40b00 (commit)
       via  7f1f9976d8734ba63bd35fc93d083905b6b20450 (commit)
       via  5470f0869a884c2cd4a8e49697449f31fcc260b0 (commit)
       via  293bc69fdd6df0fc99c9e8747bbf17510a9b4f43 (commit)
       via  8ffc8f1977a0bb87b07d486084e574630ed8d7ba (commit)
       via  721d74fdde7e4309845922408f2174165c676c6d (commit)
       via  28ea93a825204f56a6db3ae4d13d794edbd2673d (commit)
      from  918f022843660b542a70002ce76d781ef8e3bc3a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2155f6661f1d477d755f90a4db389572c896ba01
Author: Andrew Bradford <andrew at bradfordembedded.com>
Date:   Thu Oct 24 14:54:05 2013 -0400

    general: Update date

diff --git a/BOOK/general.ent b/BOOK/general.ent
index fe8983a..f357463 100644
--- a/BOOK/general.ent
+++ b/BOOK/general.ent
@@ -2,7 +2,7 @@
 
 <!ENTITY month "10"> <!-- Use two digits -->
 <!ENTITY month_name "October">
-<!ENTITY day "23"> <!-- Use two digits -->
+<!ENTITY day "24"> <!-- Use two digits -->
 <!ENTITY year "2013"> <!-- Use four digits -->
 
 <!ENTITY releasedate "&month_name; &day;, &year;">

commit 957af3d4779194b874b56cb135f9c65074eac184
Author: Andrew Bradford <andrew at bradfordembedded.com>
Date:   Thu Oct 24 14:53:59 2013 -0400

    Update changelog

diff --git a/BOOK/preface/common/changelog.xml b/BOOK/preface/common/changelog.xml
index 095e362..3d4b7a9 100644
--- a/BOOK/preface/common/changelog.xml
+++ b/BOOK/preface/common/changelog.xml
@@ -36,6 +36,27 @@
     </listitem>
 -->
     <listitem>
+      <para>October 24, 2013</para>
+      <itemizedlist>
+        <listitem>
+          <para>[abradford] - Shorten triplets.</para>
+        </listitem>
+        <listitem>
+          <para>[abradford] - Reorder variable tables for easier reading.</para>
+        </listitem>
+        <listitem>
+          <para>[abradford] - ARM and x86 are assumed little endian.</para>
+        </listitem>
+        <listitem>
+          <para>[abradford] - Fix musl installation symlinking.</para>
+        </listitem>
+        <listitem>
+          <para>[abradford] - Fix iana-etc 'make get'.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>October 21, 2013</para>
       <itemizedlist>
         <listitem>

commit 207b43862616895491bbd7be1079b5ef46a9fba5
Author: Andrew Bradford <andrew at bradfordembedded.com>
Date:   Thu Oct 24 14:41:43 2013 -0400

    Revert "creatingfiles: Reduce users and groups to minimum"
    
    This reverts commit 73c05703257e2a1b0a258b0b961e7bbb78abb21b.
    
    It's quite nice to have all the groups, at least, for mdev and easier
    permissions.  So, put them back.

diff --git a/BOOK/final-system/common/creatingfiles.xml b/BOOK/final-system/common/creatingfiles.xml
index 1f74ef6..b82d6f3 100644
--- a/BOOK/final-system/common/creatingfiles.xml
+++ b/BOOK/final-system/common/creatingfiles.xml
@@ -56,25 +56,166 @@ EOF</userinput></screen>
   (the <quote>::</quote> used here is just a placeholder and allow you to login
   with no password) will be set later.</para>
 
+  <variablelist os="b">
+
+    <title>Additional optional users you may want to add:</title>
+
+    <varlistentry>
+      <term><literal>bin:x:1:1:bin:/bin:/bin/false</literal></term>
+      <listitem>
+        <para>Can be useful for compatibility with legacy applications.</para>
+      </listitem>
+    </varlistentry>
+    <varlistentry>
+      <term><literal>daemon:x:2:6:daemon:/sbin:/bin/false</literal></term>
+      <listitem>
+        <para>It is often recommended to use an unprivileged User ID/Group ID
+        for daemons in order to limit their access to the system.</para>
+      </listitem>
+    </varlistentry>
+    <varlistentry>
+      <term><literal>adm:x:3:16:adm:/var/adm:/bin/false</literal></term>
+      <listitem>
+        <para>Was used for programs that performed administrative tasks.</para>
+      </listitem>
+    </varlistentry>
+    <varlistentry>
+      <term><literal>lp:x:10:9:lp:/var/spool/lp:/bin/false</literal></term>
+      <listitem>
+        <para>Used by programs for printing.</para>
+      </listitem>
+    </varlistentry>
+    <varlistentry>
+      <term><literal>mail:x:30:30:mail:/var/mail:/bin/false</literal></term>
+      <listitem>
+        <para>Often used by email programs.</para>
+      </listitem>
+    </varlistentry>
+    <varlistentry>
+      <term><literal>news:x:31:31:news:/var/spool/news:/bin/false</literal></term>
+      <listitem>
+        <para>Often used for network news servers.</para>
+      </listitem>
+    </varlistentry>
+    <varlistentry>
+      <term><literal>uucp:x:32:32:uucp:/var/spool/uucp:/bin/false</literal></term>
+      <listitem>
+        <para>Often used for Unix-to-Unix Copy of files from one server to the next</para>
+      </listitem>
+    </varlistentry>
+    <varlistentry>
+      <term><literal>operator:x:50:0:operator:/root:/bin/ash</literal></term>
+      <listitem>
+        <para>Often used to allow system operators to access the system.</para>
+      </listitem>
+    </varlistentry>
+    <varlistentry>
+      <term><literal>postmaster:x:51:30:postmaster:/var/spool/mail:/bin/false</literal></term>
+      <listitem>
+        <para>Generally used as an account that receives all the information of troubles with the mail server.</para>
+      </listitem>
+    </varlistentry>
+    <varlistentry>
+      <term><literal>nobody:x:65534:65534:nobody:/:/bin/false</literal></term>
+      <listitem>
+        <para>Used by NFS.</para>
+      </listitem>
+    </varlistentry>
+  </variablelist>
+
   <para>Create the <filename>/etc/group</filename> file by running the following
   command:</para>
 
 <screen><userinput>cat > ${CLFS}/targetfs/etc/group << "EOF"
 <literal>root:x:0:
 bin:x:1:
-users:x:1000:
-nogroup:x:65533:
-nobody:x:65534:</literal>
+sys:x:2:
+kmem:x:3:
+tty:x:4:
+tape:x:5:
+daemon:x:6:
+floppy:x:7:
+disk:x:8:
+lp:x:9:
+dialout:x:10:
+audio:x:11:
+video:x:12:
+utmp:x:13:
+usb:x:14:
+cdrom:x:15:</literal>
 EOF</userinput></screen>
 
-  <para>The created groups are not part of any standard.  The Linux Standard
-    Base (LSB, available at <ulink url="http://www.linuxbase.org"/>) recommends
-    only that, besides the group <systemitem class="groupname">root</systemitem>
-    with a Group ID (GID) of 0, a group <systemitem
-      class="groupname">bin</systemitem> with a GID of 1 be present. All other
-    group names and GIDs can be chosen freely by the system administrator since
-    well-written programs do not depend on GID numbers, but rather use the
-    group's name.</para>
+  <variablelist os="c">
+
+    <title>Additional optional groups you may want to add</title>
+
+    <varlistentry>
+      <term><literal>adm:x:16:root,adm,daemon</literal></term>
+      <listitem>
+        <para>All users in this group are allowed to do administrative tasks</para>
+      </listitem>
+    </varlistentry>
+    <varlistentry>
+      <term><literal>console:x:17:</literal></term>
+      <listitem>
+        <para>This group has direct access to the console</para>
+      </listitem>
+    </varlistentry>
+    <varlistentry>
+      <term><literal>cdrw:x:18:</literal></term>
+      <listitem>
+        <para>This group is allowed to use the CDRW drive</para>
+      </listitem>
+    </varlistentry>
+    <varlistentry>
+      <term><literal>mail:x:30:mail</literal></term>
+      <listitem>
+        <para>Used by MTAs (Mail Transport Agents)</para>
+      </listitem>
+    </varlistentry>
+    <varlistentry>
+      <term><literal>news:x:31:news</literal></term>
+      <listitem>
+        <para>Used by Network News Servers</para>
+      </listitem>
+    </varlistentry>
+    <varlistentry>
+      <term><literal>uucp:x:32:uucp</literal></term>
+      <listitem>
+        <para>Used by the Unix-to-Unix copy users</para>
+      </listitem>
+    </varlistentry>
+    <varlistentry>
+      <term><literal>users:x:100:</literal></term>
+      <listitem>
+        <para>The default GID used by shadow for new users</para>
+      </listitem>
+    </varlistentry>
+    <varlistentry>
+      <term><literal>nogroup:x:65533:</literal></term>
+      <listitem>
+        <para>This is a default group used by some programs that do not
+        require a group</para>
+      </listitem>
+    </varlistentry>
+    <varlistentry>
+      <term><literal>nobody:x:65534:</literal></term>
+      <listitem>
+        <para>This is used by NFS</para>
+      </listitem>
+    </varlistentry>
+  </variablelist>
+
+  <para>The created groups are not part of any standard—they are groups
+  decided on in part by the requirements of the Udev configuration in this
+  chapter, and in part by common convention employed by a number of existing
+  Linux distributions. The Linux Standard Base (LSB, available at <ulink
+  url="http://www.linuxbase.org"/>) recommends only that, besides the group
+  <systemitem class="groupname">root</systemitem> with a Group ID (GID) of 0,
+  a group <systemitem class="groupname">bin</systemitem> with a GID of 1 be
+  present. All other group names and GIDs can be chosen freely by the system
+  administrator since well-written programs do not depend on GID numbers, but
+  rather use the group's name.</para>
 
   <para>The <command>login</command>, <command>agetty</command>, and
   <command>init</command> programs (and others) use a number of log

commit a954b24303afc698c4246a3c13548de39457e0a1
Author: Andrew Bradford <andrew at bradfordembedded.com>
Date:   Thu Oct 24 14:37:18 2013 -0400

    copylibs: Ensure cp uses -P to preserve symlinks
    
    Or else /lib dir on target will be ugly and wrong.

diff --git a/BOOK/cleanup/copylibs.xml b/BOOK/cleanup/copylibs.xml
index 59f93b1..029719b 100644
--- a/BOOK/cleanup/copylibs.xml
+++ b/BOOK/cleanup/copylibs.xml
@@ -14,7 +14,7 @@
     <filename>${CLFS}/cross-tools</filename>, the generated libraries need to be
     copied to the target:</para>
 
-<screen><userinput>cp -v ${CLFS}/cross-tools/${CLFS_TARGET}/lib/*.so* ${CLFS}/targetfs/lib/</userinput></screen>
+<screen><userinput>cp -vP ${CLFS}/cross-tools/${CLFS_TARGET}/lib/*.so* ${CLFS}/targetfs/lib/</userinput></screen>
 
   <para>Optionally, strip the libraries to reduce their size:</para>
 

commit 1a129f8035b93265eb91278d2e814bbc9b5834d9
Author: Andrew Bradford <andrew at bradfordembedded.com>
Date:   Thu Oct 24 14:29:47 2013 -0400

    chowning: Remove mknod console and null, again
    
    With a kernel that *HAS* DEVTMPFS these nodes are NOT NEEDED!

diff --git a/BOOK/cleanup/chowning.xml b/BOOK/cleanup/chowning.xml
index 8387a25..6a9da38 100644
--- a/BOOK/cleanup/chowning.xml
+++ b/BOOK/cleanup/chowning.xml
@@ -35,10 +35,4 @@
 
 <screen><userinput>chgrp -v 13 ${CLFS}/targetfs/var/run/utmp ${CLFS}/targetfs/var/log/lastlog</userinput></screen>
 
-  <para>The following device nodes need to be created for some systems to
-  boot correctly:</para>
-
-<screen><userinput>mknod -m 0666 ${CLFS}/targetfs/dev/null c 1 3
-mknod -m 0600 ${CLFS}/targetfs/dev/console c 5 1</userinput></screen>
-
 </sect1>

commit ebc4a9bbeb263891ed4d3d881af3cc5e24ce5fe6
Author: Andrew Bradford <andrew at bradfordembedded.com>
Date:   Thu Oct 24 14:19:50 2013 -0400

    bootscripts: Correct contents and descriptions

diff --git a/BOOK/bootscripts/common/bootscripts.xml b/BOOK/bootscripts/common/bootscripts.xml
index 6f4e5eb..ac9c33c 100644
--- a/BOOK/bootscripts/common/bootscripts.xml
+++ b/BOOK/bootscripts/common/bootscripts.xml
@@ -54,7 +54,7 @@ ln -sv ../rc.d/startup ${CLFS}/targetfs/etc/init.d/rcS</userinput></screen>
       <segtitle>Installed scripts</segtitle>
 
       <seglistitem>
-        <seg>bridge, functions, network, start, stop, and syslog.</seg>
+        <seg>functions, startup, shutdown, and syslog.</seg>
       </seglistitem>
     </segmentedlist>
 
@@ -63,16 +63,6 @@ ln -sv ../rc.d/startup ${CLFS}/targetfs/etc/init.d/rcS</userinput></screen>
       <?dbfo list-presentation="list"?>
       <?dbhtml list-presentation="table"?>
 
-      <varlistentry id="bridge-bootscripts">
-        <term><command>bridge</command></term>
-        <listitem>
-          <para>Sets up network bridging, if configured</para>
-          <indexterm zone="ch-scripts-bootscripts bridge-bootscripts">
-            <primary sortas="d-bridge">bridge</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
       <varlistentry id="functions-bootscripts">
         <term><command>functions</command></term>
         <listitem>
@@ -84,13 +74,22 @@ ln -sv ../rc.d/startup ${CLFS}/targetfs/etc/init.d/rcS</userinput></screen>
         </listitem>
       </varlistentry>
 
-      <varlistentry id="network-bootscripts">
-        <term><command>network</command></term>
+      <varlistentry id="startup-bootscripts">
+        <term><command>startup</command></term>
+        <listitem>
+          <para>Performs all startup script operations</para>
+          <indexterm zone="ch-scripts-bootscripts startup-bootscripts">
+            <primary sortas="d-startup">startup</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="shutdown-bootscripts">
+        <term><command>shutdown</command></term>
         <listitem>
-          <para>Sets up network interfaces, such as network cards, and sets up
-          the default gateway (where applicable)</para>
-          <indexterm zone="ch-scripts-bootscripts network-bootscripts">
-            <primary sortas="d-network">network</primary>
+          <para>Performs all shutdown operations</para>
+          <indexterm zone="ch-scripts-bootscripts shutdown-bootscripts">
+            <primary sortas="d-shutdown">shutdown</primary>
           </indexterm>
         </listitem>
       </varlistentry>

commit f96a570cf25b075facd639ebf2a9387ca3385757
Author: Andrew Bradford <andrew at bradfordembedded.com>
Date:   Thu Oct 24 12:51:09 2013 -0400

    x86/variables: Set arch to x86
    
    i*86 isn't a valid arch in the kernel, x86 is.

diff --git a/BOOK/cross-tools/x86/variables.xml b/BOOK/cross-tools/x86/variables.xml
index a823683..0d3aaee 100644
--- a/BOOK/cross-tools/x86/variables.xml
+++ b/BOOK/cross-tools/x86/variables.xml
@@ -80,10 +80,9 @@ export CLFS_CPU=<replaceable>[cpu type]</replaceable></userinput></screen>
 
   </table>
 
-  <para os="c">Now we will set the architecture of the CPU based
-  on the target triplet provided above:</para>
+  <para os="c">Now set the architecture of the CPU:</para>
 
-<screen os="d"><userinput>export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/-.*//' -e 's/i.86/i386/')</userinput></screen>
+<screen os="d"><userinput>export CLFS_ARCH="x86"</userinput></screen>
 
   <para os="g">Now we will add this to <filename>~/.bashrc</filename>, just in
   case you have to exit and restart building later:</para>

commit 49f92343bdcca5c4d03f2c2cc5d5019b55a7f467
Author: Andrew Bradford <andrew at bradfordembedded.com>
Date:   Thu Oct 24 11:02:31 2013 -0400

    arm/variables: Reorder and reduce triplets
    
    Reorder so that picking FPU comes first, then pick triplet.  Triplets
    should be just based on the default FPU settings (arm or armhf,
    basically).

diff --git a/BOOK/cross-tools/arm/variables.xml b/BOOK/cross-tools/arm/variables.xml
index c553697..ded15ee 100644
--- a/BOOK/cross-tools/arm/variables.xml
+++ b/BOOK/cross-tools/arm/variables.xml
@@ -21,52 +21,101 @@
   tables as a reference.</para>
 
   <para os="a1">If your processor is an ARM9, good choices include: triplet of
-  armv5l-linux-musleabi, ARM arch of armv5t, and float of soft.  ARM9
+  arm-linux-musleabi, ARM arch of armv5t, and float of soft.  ARM9
   processors do not usually have hardware floating point abilities. If your
   processor is a Cortex-A series, which often have hardware floating point
   capability, good choices include: triplet of
-  armv7a-linux-musleabi, ARM arch of armv7-a, float of hard, and fpu
+  arm-linux-musleabihf, ARM arch of armv7-a, float of hard, and fpu
   of vfpv3-d16.</para>
 
-  <para os="a2">First, set the host and target triplets:</para>
+  <para os="f1">If your target CPU has hardware floating point support (not all
+  ARM CPUs do), then set the following CLFS_FLOAT variable to either "hard" or
+  "softfp".  Use "softfp" if you need to integrate binaries compiled with
+  "soft".  Use "hard" if you don't.  If your target CPU does not have hard
+  floating point support, set the following CLFS_FLOAT vairable to
+  "soft".</para>
+
+<screen os="f2"><userinput>export CLFS_FLOAT="<replaceable>[hard, softfp, or soft]"</replaceable></userinput></screen>
+
+  <para os="f3">If you chose either "hard" or "softfp" for CLFS_FLOAT, you now
+  need to set which floating point hardware is actually included (see table below)
+  with your ARM CPU:</para>
+
+<screen os="f4"><userinput>export CLFS_FPU="<replaceable>[fpu version]</replaceable>"</userinput></screen>
+
+  <table os="j">
+    <title>ARM Hard Floating Point Versions</title>
+    <?dbfo table-width="4in" ?>
+
+    <tgroup cols="4">
+
+      <colspec colnum="1" colwidth="1in" colname="FPU Choice"/>
+      <colspec colnum="2" colwidth="1in" colname="FPU Choice"/>
+      <colspec colnum="3" colwidth="1in" colname="FPU Choice"/>
+      <colspec colnum="4" colwidth="1in" colname="FPU Choice"/>
+
+      <tbody>
+        <row>
+          <entry>fpa</entry>
+          <entry>fpe2</entry>
+          <entry>fpe3</entry>
+          <entry>maverick</entry>
+        </row>
+        <row>
+          <entry>vfp</entry>
+          <entry>vfpv3</entry>
+          <entry>vfpv3-fp16</entry>
+          <entry>vfpv3-d16</entry>
+        </row>
+        <row>
+          <entry>vfpv3-d16-fp16</entry>
+          <entry>vfpv3xd</entry>
+          <entry>vfpv3xd-fp16</entry>
+          <entry>neon</entry>
+        </row>
+        <row>
+          <entry>neon-fp16</entry>
+          <entry>vfpv4</entry>
+          <entry>vfpv4-d16</entry>
+          <entry>fpv4-sp-d16</entry>
+        </row>
+        <row>
+          <entry>neon-vfpv4</entry>
+        </row>
+      </tbody>
+    </tgroup>
+  </table>
+
+  <para os="a2">Then, set the host and target triplets:</para>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
   href="../common/variables.xml"
   xpointer="xpointer(//*[@os='b'])"/>
 
   <table os="i">
-    <title>Example Processor Type, ABI, and  Target Triplets</title>
+    <title>Target Triplets</title>
     <?dbfo table-width="7in" ?>
 
-    <tgroup cols="3">
+    <tgroup cols="2">
 
-      <colspec colnum="1" colwidth="2.5in" colname="Processor"/>
-      <colspec colnum="2" colwidth="1in" colname="ABI"/>
-      <colspec colnum="3" colwidth="2.5in" colname="Triplet"/>
+      <colspec colnum="1" colwidth="2.5in" colname="Float Type"/>
+      <colspec colnum="2" colwidth="2.5in" colname="Triplet"/>
 
       <thead>
         <row>
-          <entry>Processor</entry>
-          <entry>ABI</entry>
-          <entry>Target Triplet</entry>
+          <entry>Float Type</entry>
+          <entry>Triplet</entry>
         </row>
       </thead>
 
       <tbody>
         <row>
-          <entry>Generic arm, version 5</entry>
-          <entry>EABI</entry>
-          <entry>armv5l-linux-musleabi</entry>
-        </row>
-        <row>
-          <entry>Generic arm</entry>
-          <entry>EABI</entry>
+          <entry>soft</entry>
           <entry>arm-linux-musleabi</entry>
         </row>
         <row>
-          <entry>Generic arm, version 7-a </entry>
-          <entry>EABI</entry>
-          <entry>armv7a-linux-musleabi</entry>
+          <entry>hard or softfp</entry>
+          <entry>arm-linux-musleabihf</entry>
         </row>
       </tbody>
 
@@ -120,64 +169,6 @@
     </tgroup>
   </table>
 
-  <para os="f1">If your target CPU has hardware floating point support (not all
-  ARM CPUs do), then set the following CLFS_FLOAT variable to either "hard" or
-  "softfp".  Use "softfp" if you need to integrate binaries compiled with
-  "soft".  Use "hard" if you don't.  If your target CPU does not have hard
-  floating point support, set the following CLFS_FLOAT vairable to
-  "soft".</para>
-
-<screen os="f2"><userinput>export CLFS_FLOAT="<replaceable>[hard, softfp, or soft]"</replaceable></userinput></screen>
-
-  <para os="f3">If you chose either "hard" or "softfp" for CLFS_FLOAT, you now
-  need to set which floating point hardware is actually included (see table below)
-  with your ARM CPU:</para>
-
-<screen os="f4"><userinput>export CLFS_FPU="<replaceable>[fpu version]</replaceable>"</userinput></screen>
-
-  <table os="j">
-    <title>ARM Hard Floating Point Versions</title>
-    <?dbfo table-width="4in" ?>
-
-    <tgroup cols="4">
-
-      <colspec colnum="1" colwidth="1in" colname="FPU Choice"/>
-      <colspec colnum="2" colwidth="1in" colname="FPU Choice"/>
-      <colspec colnum="3" colwidth="1in" colname="FPU Choice"/>
-      <colspec colnum="4" colwidth="1in" colname="FPU Choice"/>
-
-      <tbody>
-        <row>
-          <entry>fpa</entry>
-          <entry>fpe2</entry>
-          <entry>fpe3</entry>
-          <entry>maverick</entry>
-        </row>
-        <row>
-          <entry>vfp</entry>
-          <entry>vfpv3</entry>
-          <entry>vfpv3-fp16</entry>
-          <entry>vfpv3-d16</entry>
-        </row>
-        <row>
-          <entry>vfpv3-d16-fp16</entry>
-          <entry>vfpv3xd</entry>
-          <entry>vfpv3xd-fp16</entry>
-          <entry>neon</entry>
-        </row>
-        <row>
-          <entry>neon-fp16</entry>
-          <entry>vfpv4</entry>
-          <entry>vfpv4-d16</entry>
-          <entry>fpv4-sp-d16</entry>
-        </row>
-        <row>
-          <entry>neon-vfpv4</entry>
-        </row>
-      </tbody>
-    </tgroup>
-  </table>
-
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
   href="../common/variables.xml"
   xpointer="xpointer(//*[@os='g'])"/>

commit b50528b02df55758786efcc27fe8b769d4403334
Author: Andrew Bradford <andrew at bradfordembedded.com>
Date:   Thu Oct 24 10:55:03 2013 -0400

    arm/gcc-static: Remove ARM_ABI desc
    
    Was left over from previous removal

diff --git a/BOOK/cross-tools/arm/gcc-static.xml b/BOOK/cross-tools/arm/gcc-static.xml
index 6ea5138..2a6fe48 100644
--- a/BOOK/cross-tools/arm/gcc-static.xml
+++ b/BOOK/cross-tools/arm/gcc-static.xml
@@ -88,12 +88,6 @@
 <!-- Specific configure switches for ARM -->
   <variablelist os="ag">
 
-    <varlistentry os="ag1">
-      <term><parameter>--with-abi=${CLFS_ABI}</parameter></term>
-      <listitem>
-        <para>This option sets the ABI selected earlier.</para>
-      </listitem>
-    </varlistentry>
     <varlistentry os="ag2">
       <term><parameter>--with-arch=${CLFS_ARM_ARCH}</parameter></term>
       <listitem>

commit 3bd8481821ee3422fe0f4943ffb5759e2bb40b00
Author: Andrew Bradford <andrew at bradfordembedded.com>
Date:   Thu Oct 24 10:52:09 2013 -0400

    arm/variables: Replace leftover uclibc mention

diff --git a/BOOK/cross-tools/arm/variables.xml b/BOOK/cross-tools/arm/variables.xml
index 7643253..c553697 100644
--- a/BOOK/cross-tools/arm/variables.xml
+++ b/BOOK/cross-tools/arm/variables.xml
@@ -21,7 +21,7 @@
   tables as a reference.</para>
 
   <para os="a1">If your processor is an ARM9, good choices include: triplet of
-  armv5l-linux-uclibeabi, ARM arch of armv5t, and float of soft.  ARM9
+  armv5l-linux-musleabi, ARM arch of armv5t, and float of soft.  ARM9
   processors do not usually have hardware floating point abilities. If your
   processor is a Cortex-A series, which often have hardware floating point
   capability, good choices include: triplet of

commit 7f1f9976d8734ba63bd35fc93d083905b6b20450
Author: Andrew Bradford <andrew at bradfordembedded.com>
Date:   Thu Oct 24 10:51:13 2013 -0400

    variables: Reduce triplets to 3 entries
    
    No more "unknown" or "pc" portion.  It's not needed.

diff --git a/BOOK/cross-tools/arm/variables.xml b/BOOK/cross-tools/arm/variables.xml
index af85dac..7643253 100644
--- a/BOOK/cross-tools/arm/variables.xml
+++ b/BOOK/cross-tools/arm/variables.xml
@@ -21,11 +21,11 @@
   tables as a reference.</para>
 
   <para os="a1">If your processor is an ARM9, good choices include: triplet of
-  armv5l-unknown-linux-uclibeabi, ARM arch of armv5t, and float of soft.  ARM9
+  armv5l-linux-uclibeabi, ARM arch of armv5t, and float of soft.  ARM9
   processors do not usually have hardware floating point abilities. If your
   processor is a Cortex-A series, which often have hardware floating point
   capability, good choices include: triplet of
-  armv7a-unknown-linux-musleabi, ARM arch of armv7-a, float of hard, and fpu
+  armv7a-linux-musleabi, ARM arch of armv7-a, float of hard, and fpu
   of vfpv3-d16.</para>
 
   <para os="a2">First, set the host and target triplets:</para>
@@ -56,17 +56,17 @@
         <row>
           <entry>Generic arm, version 5</entry>
           <entry>EABI</entry>
-          <entry>armv5l-unknown-linux-musleabi</entry>
+          <entry>armv5l-linux-musleabi</entry>
         </row>
         <row>
           <entry>Generic arm</entry>
           <entry>EABI</entry>
-          <entry>arm-unknown-linux-musleabi</entry>
+          <entry>arm-linux-musleabi</entry>
         </row>
         <row>
           <entry>Generic arm, version 7-a </entry>
           <entry>EABI</entry>
-          <entry>armv7a-unknown-linux-musleabi</entry>
+          <entry>armv7a-linux-musleabi</entry>
         </row>
       </tbody>
 
diff --git a/BOOK/cross-tools/mips/variables.xml b/BOOK/cross-tools/mips/variables.xml
index 69afac0..f80f7d2 100644
--- a/BOOK/cross-tools/mips/variables.xml
+++ b/BOOK/cross-tools/mips/variables.xml
@@ -44,22 +44,22 @@
       <tbody>
         <row>
           <entry>MIPS 32 bits Little Endian</entry>
-          <entry>mipsel-unknown-linux-musl</entry>
+          <entry>mipsel-linux-musl</entry>
           <entry>1</entry>
         </row>
         <row>
           <entry>MIPS 32 bits Big Endian</entry>
-          <entry>mips-unknown-linux-musl</entry>
+          <entry>mips-linux-musl</entry>
           <entry>1</entry>
         </row>
         <row>
           <entry>MIPS 64 bits Little Endian</entry>
-          <entry>mips64el-unknown-linux-musl</entry>
+          <entry>mips64el-linux-musl</entry>
           <entry>3</entry>
         </row>
         <row>
           <entry>MIPS 64 bits Big Endian</entry>
-          <entry>mips64-unknown-linux-musl</entry>
+          <entry>mips64-linux-musl</entry>
           <entry>3</entry>
         </row>
       </tbody>
diff --git a/BOOK/cross-tools/x86/variables.xml b/BOOK/cross-tools/x86/variables.xml
index ca46680..a823683 100644
--- a/BOOK/cross-tools/x86/variables.xml
+++ b/BOOK/cross-tools/x86/variables.xml
@@ -46,31 +46,31 @@ export CLFS_CPU=<replaceable>[cpu type]</replaceable></userinput></screen>
       <tbody>
         <row>
           <entry>486 Compatibles</entry>
-          <entry>i486-pc-linux-musl</entry>
+          <entry>i486-linux-musl</entry>
           <entry>i486</entry>
           <entry>Intel's i486</entry>
         </row>
         <row>
           <entry>Pentium, K6, 586 Compatibles</entry>
-          <entry>i586-pc-linux-musl</entry>
+          <entry>i586-linux-musl</entry>
           <entry>i586</entry>
           <entry>Intel Pentium without MMX</entry>
         </row>
         <row>
           <entry>Pentium II, Pentium III, Pentium 4</entry>
-          <entry>i686-pc-linux-musl</entry>
+          <entry>i686-linux-musl</entry>
           <entry>i686</entry>
           <entry>PentiumPro instruction set</entry>
         </row>
         <row>
           <entry>Athlon</entry>
-          <entry>i686-pc-linux-musl</entry>
+          <entry>i686-linux-musl</entry>
           <entry>athlon</entry>
           <entry>AMD 32 bit Athlon</entry>
         </row>
         <row>
           <entry>Opteron</entry>
-          <entry>x86_64-unknown-linux-musl</entry>
+          <entry>x86_64-linux-musl</entry>
           <entry>k8</entry>
           <entry>AMD K8 processors with x86-64</entry>
         </row>

commit 5470f0869a884c2cd4a8e49697449f31fcc260b0
Author: Andrew Bradford <andrew at bradfordembedded.com>
Date:   Thu Oct 24 10:49:13 2013 -0400

    variables: Put tables near where used
    
    Rather than all at the bottom, which was really annoying.

diff --git a/BOOK/cross-tools/arm/variables.xml b/BOOK/cross-tools/arm/variables.xml
index ef26b75..af85dac 100644
--- a/BOOK/cross-tools/arm/variables.xml
+++ b/BOOK/cross-tools/arm/variables.xml
@@ -18,7 +18,7 @@
   the CPU architecture, the CPU floating point hardware
   availability, and (if available) the type of floating point hardware. If you 
   do not know what values can be chosen for each of these, you can use the 
-  tables at the bottom of this page as a reference.</para>
+  tables as a reference.</para>
 
   <para os="a1">If your processor is an ARM9, good choices include: triplet of
   armv5l-unknown-linux-uclibeabi, ARM arch of armv5t, and float of soft.  ARM9
@@ -34,40 +34,6 @@
   href="../common/variables.xml"
   xpointer="xpointer(//*[@os='b'])"/>
 
-  <para os="c">Now set the architecture of the CPU:</para>
-
-<screen os="d"><userinput>export CLFS_ARCH=arm</userinput></screen>
-
-  <para os="e">Choose the ARM architecture (see table below):</para>
-
-<screen os="f"><userinput>export CLFS_ARM_ARCH="<replaceable>[architecture]</replaceable>"</userinput></screen>
-
-  <para os="f1">If your target CPU has hardware floating point support (not all
-  ARM CPUs do), then set the following CLFS_FLOAT variable to either "hard" or
-  "softfp".  Use "softfp" if you need to integrate binaries compiled with
-  "soft".  Use "hard" if you don't.  If your target CPU does not have hard
-  floating point support, set the following CLFS_FLOAT vairable to
-  "soft".</para>
-
-<screen os="f2"><userinput>export CLFS_FLOAT="<replaceable>[hard, softfp, or soft]"</replaceable></userinput></screen>
-
-  <para os="f3">If you chose either "hard" or "softfp" for CLFS_FLOAT, you now
-  need to set which floating point hardware is actually included (see table below)
-  with your ARM CPU:</para>
-
-<screen os="f4"><userinput>export CLFS_FPU="<replaceable>[fpu version]</replaceable>"</userinput></screen>
-
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../common/variables.xml"
-  xpointer="xpointer(//*[@os='g'])"/>
-
-<screen os="h"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" >> ~/.bashrc
-echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc
-echo export CLFS_ARCH=\""${CLFS_ARCH}\"" >> ~/.bashrc
-echo export CLFS_ARM_ARCH=\""${CLFS_ARM_ARCH}\"" >> ~/.bashrc
-echo export CLFS_FLOAT=\""${CLFS_FLOAT}\"" >> ~/.bashrc
-echo export CLFS_FPU=\""${CLFS_FPU}\"" >> ~/.bashrc</userinput></screen>
-
   <table os="i">
     <title>Example Processor Type, ABI, and  Target Triplets</title>
     <?dbfo table-width="7in" ?>
@@ -108,6 +74,14 @@ echo export CLFS_FPU=\""${CLFS_FPU}\"" >> ~/.bashrc</userinput></screen>
 
   </table>
 
+  <para os="c">Now set the architecture of the CPU:</para>
+
+<screen os="d"><userinput>export CLFS_ARCH=arm</userinput></screen>
+
+  <para os="e">Choose the ARM architecture (see table below):</para>
+
+<screen os="f"><userinput>export CLFS_ARM_ARCH="<replaceable>[architecture]</replaceable>"</userinput></screen>
+
   <table os="j">
     <title>ARM Archiecture Choices</title>
     <?dbfo table-width="4in" ?>
@@ -146,6 +120,21 @@ echo export CLFS_FPU=\""${CLFS_FPU}\"" >> ~/.bashrc</userinput></screen>
     </tgroup>
   </table>
 
+  <para os="f1">If your target CPU has hardware floating point support (not all
+  ARM CPUs do), then set the following CLFS_FLOAT variable to either "hard" or
+  "softfp".  Use "softfp" if you need to integrate binaries compiled with
+  "soft".  Use "hard" if you don't.  If your target CPU does not have hard
+  floating point support, set the following CLFS_FLOAT vairable to
+  "soft".</para>
+
+<screen os="f2"><userinput>export CLFS_FLOAT="<replaceable>[hard, softfp, or soft]"</replaceable></userinput></screen>
+
+  <para os="f3">If you chose either "hard" or "softfp" for CLFS_FLOAT, you now
+  need to set which floating point hardware is actually included (see table below)
+  with your ARM CPU:</para>
+
+<screen os="f4"><userinput>export CLFS_FPU="<replaceable>[fpu version]</replaceable>"</userinput></screen>
+
   <table os="j">
     <title>ARM Hard Floating Point Versions</title>
     <?dbfo table-width="4in" ?>
@@ -189,4 +178,15 @@ echo export CLFS_FPU=\""${CLFS_FPU}\"" >> ~/.bashrc</userinput></screen>
     </tgroup>
   </table>
 
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/variables.xml"
+  xpointer="xpointer(//*[@os='g'])"/>
+
+<screen os="h"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" >> ~/.bashrc
+echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc
+echo export CLFS_ARCH=\""${CLFS_ARCH}\"" >> ~/.bashrc
+echo export CLFS_ARM_ARCH=\""${CLFS_ARM_ARCH}\"" >> ~/.bashrc
+echo export CLFS_FLOAT=\""${CLFS_FLOAT}\"" >> ~/.bashrc
+echo export CLFS_FPU=\""${CLFS_FPU}\"" >> ~/.bashrc</userinput></screen>
+
 </sect1>
diff --git a/BOOK/cross-tools/mips/variables.xml b/BOOK/cross-tools/mips/variables.xml
index 9293cda..69afac0 100644
--- a/BOOK/cross-tools/mips/variables.xml
+++ b/BOOK/cross-tools/mips/variables.xml
@@ -16,44 +16,13 @@
   set a few variables that will be dependent on your particular needs.
   You will need to set the target triplet for the target architecture, the MIPS
   level, and CPU endianess. If you do not know what triplet or level you want,
-  you can use the table at the bottom of this page as a reference. Set
+  you can use the table as a reference. Set
   the command using the method listed below:</para>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
   href="../common/variables.xml"
   xpointer="xpointer(//*[@os='b'])"/>
 
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../common/variables.xml"
-  xpointer="xpointer(//*[@os='c'])"/>
-
-<screen os="d"><userinput>export CLFS_ARCH=mips
-export CLFS_ENDIAN=$(echo ${CLFS_ARCH} | sed -e 's/mipsel/little/' -e 's/mips/big/')</userinput></screen>
-
-  <para os="m1">Now you will need to set the MIPS LEVEL. This determines how your
-  GCC and C library are built. There are currently 5 MIPS ISA Levels. To keep things 
-  simple we are only using two. For more information, see
-  <ulink url="http://www.linux-mips.org/wiki/Instruction_Set_Architecture"/></para>
-
-<screen os="m2"><userinput>export CLFS_MIPS_LEVEL="<replaceable>[mips level]</replaceable>"</userinput></screen>
-
-  <para os="m3">We also need to select the floating point capability of the CPU.
-  If the CPU has built-in hardware for performing floating point calculations,
-  choose "hard", otherwise choose "soft":</para>
-
-<screen os="m4"><userinput>export CLFS_FLOAT="<replaceable>[hard or soft]</replaceable>"</userinput></screen>
-
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../common/variables.xml"
-  xpointer="xpointer(//*[@os='g'])"/>
-
-<screen os="h"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" >> ~/.bashrc
-echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc
-echo export CLFS_ARCH=\""${CLFS_ARCH}\"" >> ~/.bashrc
-echo export CLFS_ENDIAN=\""${CLFS_ENDIAN}\"" >> ~/.bashrc
-echo export CLFS_MIPS_LEVEL=\""${CLFS_MIPS_LEVEL}\"" >> ~/.bashrc
-echo export CLFS_FLOAT=\""${CLFS_FLOAT}\"" >> ~/.bashrc</userinput></screen>
-
   <table os="i">
     <title>Processor Type and  Target Triplets</title>
     <?dbfo table-width="5.5in" ?>
@@ -99,4 +68,35 @@ echo export CLFS_FLOAT=\""${CLFS_FLOAT}\"" >> ~/.bashrc</userinput></scree
 
   </table>
 
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/variables.xml"
+  xpointer="xpointer(//*[@os='c'])"/>
+
+<screen os="d"><userinput>export CLFS_ARCH=mips
+export CLFS_ENDIAN=$(echo ${CLFS_ARCH} | sed -e 's/mipsel/little/' -e 's/mips/big/')</userinput></screen>
+
+  <para os="m1">Now you will need to set the MIPS LEVEL. This determines how your
+  GCC and C library are built. There are currently 5 MIPS ISA Levels. To keep things 
+  simple we are only using two. For more information, see
+  <ulink url="http://www.linux-mips.org/wiki/Instruction_Set_Architecture"/></para>
+
+<screen os="m2"><userinput>export CLFS_MIPS_LEVEL="<replaceable>[mips level]</replaceable>"</userinput></screen>
+
+  <para os="m3">We also need to select the floating point capability of the CPU.
+  If the CPU has built-in hardware for performing floating point calculations,
+  choose "hard", otherwise choose "soft":</para>
+
+<screen os="m4"><userinput>export CLFS_FLOAT="<replaceable>[hard or soft]</replaceable>"</userinput></screen>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/variables.xml"
+  xpointer="xpointer(//*[@os='g'])"/>
+
+<screen os="h"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" >> ~/.bashrc
+echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc
+echo export CLFS_ARCH=\""${CLFS_ARCH}\"" >> ~/.bashrc
+echo export CLFS_ENDIAN=\""${CLFS_ENDIAN}\"" >> ~/.bashrc
+echo export CLFS_MIPS_LEVEL=\""${CLFS_MIPS_LEVEL}\"" >> ~/.bashrc
+echo export CLFS_FLOAT=\""${CLFS_FLOAT}\"" >> ~/.bashrc</userinput></screen>
+
 </sect1>
diff --git a/BOOK/cross-tools/x86/variables.xml b/BOOK/cross-tools/x86/variables.xml
index 803879f..ca46680 100644
--- a/BOOK/cross-tools/x86/variables.xml
+++ b/BOOK/cross-tools/x86/variables.xml
@@ -16,26 +16,13 @@
   set a few variables that will be dependent on your particular needs.
   You will need to set the target triplet for the target architecture, and the
   CPU type. If you do not know what triplet or CPU type you want,
-  you can use the table at the bottom of this page as a reference. Set
+  you can use the table as a reference. Set
   the command using the method listed below:</para>
 
 <screen os="b"><userinput>export CLFS_HOST=$(echo ${MACHTYPE} | sed "s/-[^-]*/-cross/")
 export CLFS_TARGET=<replaceable>[target triplet]</replaceable>
 export CLFS_CPU=<replaceable>[cpu type]</replaceable></userinput></screen>
 
-  <para os="c">Now we will set the architecture of the CPU based
-  on the target triplet provided above:</para>
-
-<screen os="d"><userinput>export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/-.*//' -e 's/i.86/i386/')</userinput></screen>
-
-  <para os="g">Now we will add this to <filename>~/.bashrc</filename>, just in
-  case you have to exit and restart building later:</para>
-
-<screen os="h"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" >> ~/.bashrc
-echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc
-echo export CLFS_ARCH=\""${CLFS_ARCH}\"" >> ~/.bashrc
-echo export CLFS_CPU=\""${CLFS_CPU}\"" >> ~/.bashrc</userinput></screen>
-
   <table os="i">
     <title>Processor Type and  Target Triplets</title>
     <?dbfo table-width="7.5in" ?>
@@ -93,4 +80,17 @@ echo export CLFS_CPU=\""${CLFS_CPU}\"" >> ~/.bashrc</userinput></screen>
 
   </table>
 
+  <para os="c">Now we will set the architecture of the CPU based
+  on the target triplet provided above:</para>
+
+<screen os="d"><userinput>export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/-.*//' -e 's/i.86/i386/')</userinput></screen>
+
+  <para os="g">Now we will add this to <filename>~/.bashrc</filename>, just in
+  case you have to exit and restart building later:</para>
+
+<screen os="h"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" >> ~/.bashrc
+echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc
+echo export CLFS_ARCH=\""${CLFS_ARCH}\"" >> ~/.bashrc
+echo export CLFS_CPU=\""${CLFS_CPU}\"" >> ~/.bashrc</userinput></screen>
+
 </sect1>

commit 293bc69fdd6df0fc99c9e8747bbf17510a9b4f43
Author: Andrew Bradford <andrew at bradfordembedded.com>
Date:   Thu Oct 24 10:11:46 2013 -0400

    ARM: Remove setting ARM mode
    
    The default is 'arm' mode

diff --git a/BOOK/cross-tools/arm/gcc-final.xml b/BOOK/cross-tools/arm/gcc-final.xml
index c728c0f..ccdb4a9 100644
--- a/BOOK/cross-tools/arm/gcc-final.xml
+++ b/BOOK/cross-tools/arm/gcc-final.xml
@@ -71,7 +71,6 @@
   --with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \
   --with-mpfr-lib=$(pwd)/mpfr/src/.libs \
   --with-arch=${CLFS_ARM_ARCH} \
-  --with-mode=${CLFS_ARM_MODE} \
   --with-float=${CLFS_FLOAT} \
   --with-fpu=${CLFS_FPU}</userinput></screen>
 
diff --git a/BOOK/cross-tools/arm/gcc-static.xml b/BOOK/cross-tools/arm/gcc-static.xml
index 6d69ea7..6ea5138 100644
--- a/BOOK/cross-tools/arm/gcc-static.xml
+++ b/BOOK/cross-tools/arm/gcc-static.xml
@@ -77,7 +77,6 @@
   --with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \
   --with-mpfr-lib=$(pwd)/mpfr/src/.libs \
   --with-arch=${CLFS_ARM_ARCH} \
-  --with-mode=${CLFS_ARM_MODE} \
   --with-float=${CLFS_FLOAT} \
   --with-fpu=${CLFS_FPU}</userinput></screen>
 
@@ -101,12 +100,6 @@
         <para>This option sets the ARM architecture selected earlier.</para>
       </listitem>
     </varlistentry>
-    <varlistentry os="ag3">
-      <term><parameter>--with-mode=${CLFS_ARM_MODE}</parameter></term>
-      <listitem>
-        <para>This option sets the ARM mode (arm or thumb) selected earlier.</para>
-      </listitem>
-    </varlistentry>
     <varlistentry os="ag4">
       <term><parameter>--with-float=${CLFS_FLOAT}</parameter></term>
       <listitem>
diff --git a/BOOK/cross-tools/arm/variables.xml b/BOOK/cross-tools/arm/variables.xml
index 3247212..ef26b75 100644
--- a/BOOK/cross-tools/arm/variables.xml
+++ b/BOOK/cross-tools/arm/variables.xml
@@ -15,7 +15,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.
   You will need to select the target triplet for the target architecture,
-  the CPU architecture, the CPU mode, the CPU floating point hardware
+  the CPU architecture, the CPU floating point hardware
   availability, and (if available) the type of floating point hardware. If you 
   do not know what values can be chosen for each of these, you can use the 
   tables at the bottom of this page as a reference.</para>
@@ -34,16 +34,13 @@
   href="../common/variables.xml"
   xpointer="xpointer(//*[@os='b'])"/>
 
-  <para os="c">Now we will set the architecture of the CPU based
-  on the target triplet provided above:</para>
+  <para os="c">Now set the architecture of the CPU:</para>
 
 <screen os="d"><userinput>export CLFS_ARCH=arm</userinput></screen>
 
-  <para os="e">Choose the ARM architecture (see table below) and mode of 
-  your CPU:</para>
+  <para os="e">Choose the ARM architecture (see table below):</para>
 
-<screen os="f"><userinput>export CLFS_ARM_ARCH="<replaceable>[architecture]</replaceable>"
-export CLFS_ARM_MODE="<replaceable>[arm or thumb]</replaceable>"</userinput></screen>
+<screen os="f"><userinput>export CLFS_ARM_ARCH="<replaceable>[architecture]</replaceable>"</userinput></screen>
 
   <para os="f1">If your target CPU has hardware floating point support (not all
   ARM CPUs do), then set the following CLFS_FLOAT variable to either "hard" or
@@ -68,7 +65,6 @@ export CLFS_ARM_MODE="<replaceable>[arm or thumb]</replaceable>"</userinput></sc
 echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc
 echo export CLFS_ARCH=\""${CLFS_ARCH}\"" >> ~/.bashrc
 echo export CLFS_ARM_ARCH=\""${CLFS_ARM_ARCH}\"" >> ~/.bashrc
-echo export CLFS_ARM_MODE=\""${CLFS_ARM_MODE}\"" >> ~/.bashrc
 echo export CLFS_FLOAT=\""${CLFS_FLOAT}\"" >> ~/.bashrc
 echo export CLFS_FPU=\""${CLFS_FPU}\"" >> ~/.bashrc</userinput></screen>
 

commit 8ffc8f1977a0bb87b07d486084e574630ed8d7ba
Author: Andrew Bradford <andrew at bradfordembedded.com>
Date:   Thu Oct 24 10:00:21 2013 -0400

    variables: Make ARM & x86 always little endian
    
    99% of the time, this is correct.

diff --git a/BOOK/cross-tools/arm/variables.xml b/BOOK/cross-tools/arm/variables.xml
index 15165d9..3247212 100644
--- a/BOOK/cross-tools/arm/variables.xml
+++ b/BOOK/cross-tools/arm/variables.xml
@@ -14,14 +14,13 @@
 
   <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.
-  You will need to select the target triplet for the target architecture, the CPU
-  endianess, the CPU architecture, the CPU mode, the CPU floating point hardware
+  You will need to select the target triplet for the target architecture,
+  the CPU architecture, the CPU mode, the CPU floating point hardware
   availability, and (if available) the type of floating point hardware. If you 
   do not know what values can be chosen for each of these, you can use the 
   tables at the bottom of this page as a reference.</para>
 
-  <para os="a1">Most ARM processors are little endian, it is a safe choice.  If
-  your processor is an ARM9, good choices include: triplet of
+  <para os="a1">If your processor is an ARM9, good choices include: triplet of
   armv5l-unknown-linux-uclibeabi, ARM arch of armv5t, and float of soft.  ARM9
   processors do not usually have hardware floating point abilities. If your
   processor is a Cortex-A series, which often have hardware floating point
@@ -35,12 +34,10 @@
   href="../common/variables.xml"
   xpointer="xpointer(//*[@os='b'])"/>
 
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../common/variables.xml"
-  xpointer="xpointer(//*[@os='c'])"/>
+  <para os="c">Now we will set the architecture of the CPU based
+  on the target triplet provided above:</para>
 
-<screen os="d"><userinput>export CLFS_ARCH=arm
-export CLFS_ENDIAN="<replaceable>[endianess]</replaceable>"</userinput></screen>
+<screen os="d"><userinput>export CLFS_ARCH=arm</userinput></screen>
 
   <para os="e">Choose the ARM architecture (see table below) and mode of 
   your CPU:</para>
@@ -70,7 +67,6 @@ export CLFS_ARM_MODE="<replaceable>[arm or thumb]</replaceable>"</userinput></sc
 <screen os="h"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" >> ~/.bashrc
 echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc
 echo export CLFS_ARCH=\""${CLFS_ARCH}\"" >> ~/.bashrc
-echo export CLFS_ENDIAN=\""${CLFS_ENDIAN}\"" >> ~/.bashrc
 echo export CLFS_ARM_ARCH=\""${CLFS_ARM_ARCH}\"" >> ~/.bashrc
 echo export CLFS_ARM_MODE=\""${CLFS_ARM_MODE}\"" >> ~/.bashrc
 echo export CLFS_FLOAT=\""${CLFS_FLOAT}\"" >> ~/.bashrc
@@ -80,17 +76,15 @@ echo export CLFS_FPU=\""${CLFS_FPU}\"" >> ~/.bashrc</userinput></screen>
     <title>Example Processor Type, ABI, and  Target Triplets</title>
     <?dbfo table-width="7in" ?>
 
-    <tgroup cols="4">
+    <tgroup cols="3">
 
       <colspec colnum="1" colwidth="2.5in" colname="Processor"/>
-      <colspec colnum="2" colwidth="1in" colname="Endianess"/>
-      <colspec colnum="3" colwidth="1in" colname="ABI"/>
-      <colspec colnum="4" colwidth="2.5in" colname="Triplet"/>
+      <colspec colnum="2" colwidth="1in" colname="ABI"/>
+      <colspec colnum="3" colwidth="2.5in" colname="Triplet"/>
 
       <thead>
         <row>
           <entry>Processor</entry>
-          <entry>Endianess</entry>
           <entry>ABI</entry>
           <entry>Target Triplet</entry>
         </row>
@@ -99,25 +93,16 @@ echo export CLFS_FPU=\""${CLFS_FPU}\"" >> ~/.bashrc</userinput></screen>
       <tbody>
         <row>
           <entry>Generic arm, version 5</entry>
-          <entry>little</entry>
           <entry>EABI</entry>
           <entry>armv5l-unknown-linux-musleabi</entry>
         </row>
         <row>
-          <entry>Generic arm, version 5</entry>
-          <entry>big</entry>
-          <entry>EABI</entry>
-          <entry>armv5b-unknown-linux-musleabi</entry>
-        </row>
-        <row>
           <entry>Generic arm</entry>
-          <entry>little</entry>
           <entry>EABI</entry>
           <entry>arm-unknown-linux-musleabi</entry>
         </row>
         <row>
           <entry>Generic arm, version 7-a </entry>
-          <entry>little</entry>
           <entry>EABI</entry>
           <entry>armv7a-unknown-linux-musleabi</entry>
         </row>
diff --git a/BOOK/cross-tools/x86/variables.xml b/BOOK/cross-tools/x86/variables.xml
index 344606b..803879f 100644
--- a/BOOK/cross-tools/x86/variables.xml
+++ b/BOOK/cross-tools/x86/variables.xml
@@ -14,8 +14,8 @@
 
   <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.
-  You will need to set the target triplet for the target architecture, the CPU
-  type, and CPU endianess. If you do not know what triplet or CPU type you want,
+  You will need to set the target triplet for the target architecture, and the
+  CPU type. If you do not know what triplet or CPU type you want,
   you can use the table at the bottom of this page as a reference. Set
   the command using the method listed below:</para>
 
@@ -23,11 +23,10 @@
 export CLFS_TARGET=<replaceable>[target triplet]</replaceable>
 export CLFS_CPU=<replaceable>[cpu type]</replaceable></userinput></screen>
 
-  <para os="c">Now we will set the architecture and endianess of the CPU based
+  <para os="c">Now we will set the architecture of the CPU based
   on the target triplet provided above:</para>
 
-<screen os="d"><userinput>export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/-.*//' -e 's/i.86/i386/')
-export CLFS_ENDIAN=little</userinput></screen>
+<screen os="d"><userinput>export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/-.*//' -e 's/i.86/i386/')</userinput></screen>
 
   <para os="g">Now we will add this to <filename>~/.bashrc</filename>, just in
   case you have to exit and restart building later:</para>
@@ -35,7 +34,6 @@ export CLFS_ENDIAN=little</userinput></screen>
 <screen os="h"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" >> ~/.bashrc
 echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc
 echo export CLFS_ARCH=\""${CLFS_ARCH}\"" >> ~/.bashrc
-echo export CLFS_ENDIAN=\""${CLFS_ENDIAN}\"" >> ~/.bashrc
 echo export CLFS_CPU=\""${CLFS_CPU}\"" >> ~/.bashrc</userinput></screen>
 
   <table os="i">

commit 721d74fdde7e4309845922408f2174165c676c6d
Author: Andrew Bradford <andrew at bradfordembedded.com>
Date:   Thu Oct 24 09:49:17 2013 -0400

    settingenv: Remove mention of chroot
    
    We don't use a chroot method.

diff --git a/BOOK/final-preps/settingenviron.xml b/BOOK/final-preps/settingenviron.xml
index e51ef0c..8c77d0c 100644
--- a/BOOK/final-preps/settingenviron.xml
+++ b/BOOK/final-preps/settingenviron.xml
@@ -73,10 +73,7 @@ EOF</userinput></screen>
   specified country.  If the host system uses a version of Glibc older
   than 2.2.4, having <envar>LC_ALL</envar> set to something other than
   <quote>POSIX</quote> or <quote>C</quote> (during this chapter) may cause
-  issues if you exit the chroot environment and wish to return later.
-  Setting <envar>LC_ALL</envar> to <quote>POSIX</quote> or <quote>C</quote>
-  (the two are equivalent) ensures that everything will work as expected in
-  the chroot environment.</para>
+  issues.</para>
 
   <para os="j">By putting <filename class="directory">${CLFS}/cross-tools/bin</filename>
   at the beginning of the <envar>PATH</envar>, the cross-compiler

commit 28ea93a825204f56a6db3ae4d13d794edbd2673d
Author: Andrew Bradford <andrew at bradfordembedded.com>
Date:   Thu Oct 24 09:46:39 2013 -0400

    how: Remove mention of glibc

diff --git a/BOOK/introduction/common/how.xml b/BOOK/introduction/common/how.xml
index 325e36a..d27a96b 100644
--- a/BOOK/introduction/common/how.xml
+++ b/BOOK/introduction/common/how.xml
@@ -49,7 +49,7 @@
   <para>The process of building cross-compile tools first involves installing
   binutils into ${CLFS}/cross-tools, so that we have an asembler and a linker
   for our target architecture. GCC is then compiled statically and installed
-  into ${CLFS}/cross-tools, this cross-compiler is used to build glibc for the
+  into ${CLFS}/cross-tools, this cross-compiler is used to build the libc for the
   final-system. The GCC cross-compiler is then rebuilt dynamically - this final
   cross-compiler is what will be used to build the final-system.</para>
 

-----------------------------------------------------------------------

Summary of changes:
 BOOK/bootscripts/common/bootscripts.xml    |   33 +++---
 BOOK/cleanup/chowning.xml                  |    6 -
 BOOK/cleanup/copylibs.xml                  |    2 +-
 BOOK/cross-tools/arm/gcc-final.xml         |    1 -
 BOOK/cross-tools/arm/gcc-static.xml        |   13 --
 BOOK/cross-tools/arm/variables.xml         |  186 ++++++++++++----------------
 BOOK/cross-tools/mips/variables.xml        |   72 ++++++------
 BOOK/cross-tools/x86/variables.xml         |   43 +++----
 BOOK/final-preps/settingenviron.xml        |    5 +-
 BOOK/final-system/common/creatingfiles.xml |  163 +++++++++++++++++++++++--
 BOOK/general.ent                           |    2 +-
 BOOK/introduction/common/how.xml           |    2 +-
 BOOK/preface/common/changelog.xml          |   21 +++
 13 files changed, 328 insertions(+), 221 deletions(-)


hooks/post-receive
-- 
Cross-LFS Embedded Book



More information about the Clfs-commits mailing list