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

git git at cross-lfs.org
Thu Feb 10 16:40:57 PST 2011


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  e67fb9b6477f34b453feb3796b0204ebf8d7c664 (commit)
       via  49c9bc5c0b2a98e125ee54fe347c15f133392a92 (commit)
       via  84b1adcd036d47c9e389cbf8601400de47be8cef (commit)
       via  60b91a4bc082a0497f33fe5d60c64b481c9f3175 (commit)
       via  d5c74180c74610d9d0b31110bd1a338b036c04aa (commit)
       via  7926af12208715d0ce7ad7bf14ae880b753687da (commit)
       via  541ad7b9040d43e4a28c4638a0b7ab76e4216988 (commit)
       via  9f0beb084d06e5580ca18c6f9e5dc818dfa0a23d (commit)
       via  b7f546755f044ae7386a54750b6dc1fc979bfa4d (commit)
       via  6b723ad3794ed5bdea22c16df69dc9a02cd541ec (commit)
       via  ff29c769629bd35df250cf36b750b4bc26bf9787 (commit)
       via  79bc6ced79bcbd728f90c2da749c247d1ff317a5 (commit)
       via  485885e09bdb325caf6126c82d0903aa3e8b9d5b (commit)
       via  c76b509e722b37a2bc6b938a0bdab36662ae67e8 (commit)
       via  efb31cdd1149b035ef171f79acba69ea3ecd7820 (commit)
       via  e8619f568baa4c79c84458b531919ddaf7f1cac0 (commit)
       via  9fbb8fb201743fc50eb3a4edb61e42cb78c9492f (commit)
       via  d05636eac3ff8da683d30a4a38ee4a438bab4b86 (commit)
       via  d44503ccddd61dbda50483a79e5b75af39ef6d5a (commit)
       via  a6b552776828308cec768daba6cef1781b80d9f4 (commit)
       via  69ce2ab93bcaa959f91cb2a716b6d7722799e6e9 (commit)
       via  9cbe486f146c9253f01c2919f439a9425c39663e (commit)
       via  ee73578a265b015bb0526f7cc82ad1377d353fbc (commit)
       via  eabbc52c16d109683691e9633670e15387be8f73 (commit)
       via  6ebe4299c834480bf97b11f0a5ca17a57b0aa89a (commit)
       via  deb99a33e29154acbb2c6d745536e4998cd5759f (commit)
       via  285d1d095bc6f2adbc11cce8f06d96da6fe635df (commit)
       via  26c7a06fadc33d6b6821352f7a0ac6cefbb84f98 (commit)
       via  85ff85f1ccdc94c28888df67e24b84f59e247536 (commit)
       via  9eb69a254fedac415b4573c5def4f7281e7e825e (commit)
       via  91396a05cd85c1b3c62cf8b1217dafa1c62ec383 (commit)
       via  65b296c36f06d5a26d4200e863ee5e13baae24db (commit)
       via  912d9750b314db6a0accbce29f1af0dcf65fffdf (commit)
       via  c5ecc1b8b74d81c757f76fbc3dceef6c913b12fe (commit)
      from  a9cb92d06315544a5639a31446876d6982923edb (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 e67fb9b6477f34b453feb3796b0204ebf8d7c664
Merge: a9cb92d 49c9bc5
Author: Joe Ciccone <jciccone at gmail.com>
Date:   Thu Feb 10 18:44:59 2011 -0500

    Merge branch 'master' of git://git.cross-lfs.org/abradford/clfs-embedded.git


commit 49c9bc5c0b2a98e125ee54fe347c15f133392a92
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Thu Feb 10 07:03:11 2011 -0500

    Fixed udhcpc.conf script file name
    
    Thanks to Steven Swann (sjs205.linux at gmail) for point this out.
    Fixes #755.

diff --git a/BOOK/bootscripts/common/network.xml b/BOOK/bootscripts/common/network.xml
index d1efc64..d380411 100644
--- a/BOOK/bootscripts/common/network.xml
+++ b/BOOK/bootscripts/common/network.xml
@@ -109,8 +109,7 @@ EOF</userinput></screen>
     <para>For DHCP to work properly a configuration script is needed.
     Create a sample udhcpc.conf:</para>
 
-<screen><userinput>mkdir ${CLFS}/etc/network.d &&
-cat > ${CLFS}/etc/network.d/interface.eth0 << "EOF"
+<screen><userinput>cat > ${CLFS}/etc/udhcpc.conf << "EOF"
 <literal>#!/bin/sh
 # udhcpc Interface Configuration
 # Based on http://lists.debian.org/debian-boot/2002/11/msg00500.html

commit 84b1adcd036d47c9e389cbf8601400de47be8cef
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Thu Feb 10 06:36:53 2011 -0500

    Updated Date and Changelogs
    
    Reflects changes over the past 2 weeks or so, including removing
    ${BUILD} variable.

diff --git a/BOOK/general.ent b/BOOK/general.ent
index 4526110..54424db 100644
--- a/BOOK/general.ent
+++ b/BOOK/general.ent
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 
-<!ENTITY month "01"> <!-- Use two digits -->
-<!ENTITY month_name "January">
-<!ENTITY day "30"> <!-- Use two digits -->
+<!ENTITY month "02"> <!-- Use two digits -->
+<!ENTITY month_name "February">
+<!ENTITY day "10"> <!-- Use two digits -->
 <!ENTITY year "2011"> <!-- Use four digits -->
 
 <!ENTITY releasedate "&month_name; &day;, &year;">
diff --git a/BOOK/introduction/arm/changelog.xml b/BOOK/introduction/arm/changelog.xml
index b8d77e5..1d004a0 100644
--- a/BOOK/introduction/arm/changelog.xml
+++ b/BOOK/introduction/arm/changelog.xml
@@ -33,6 +33,25 @@
 -->
 
     <listitem>
+      <para>February 10, 2011</para>
+      <itemizedlist>
+        <listitem>
+          <para>[abradford] - Fixed builds for EABI (aapcs and aapcs-linux)
+          ABI choices by adding target triplets ending in uclibcgnueabi.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
+      <para>January 30, 2011</para>
+      <itemizedlist>
+        <listitem>
+          <para>[abradford] - Added notes to ARM ABI variable list.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>November 11, 2006</para>
       <itemizedlist>
         <listitem>
diff --git a/BOOK/introduction/common/changelog.xml b/BOOK/introduction/common/changelog.xml
index 5a6b321..98284a4 100644
--- a/BOOK/introduction/common/changelog.xml
+++ b/BOOK/introduction/common/changelog.xml
@@ -37,11 +37,22 @@
 -->
 
     <listitem>
-      <para>January 30, 2011</para>
+      <para>February 10, 2011</para>
       <itemizedlist>
         <listitem>
-          <para>[abradford] - Added notes to ARM ABI variable list.</para>
+          <para>[abradford] - Changed GCC Static and Final to build GCC for
+          ${CLFS_ABI} for ARM and MIPS, ${CLFS_CPU} for x86.  This removes the
+          need for using the ${BUILD} variable when building packages.</para>
+        </listitem>
+        <listitem>
+          <para>[abradford] - Updated Resources section.</para>
         </listitem>
+      </itemizedlist>
+    </listitem>
+    
+    <listitem>
+      <para>January 30, 2011</para>
+      <itemizedlist>
         <listitem>
           <para>[abradford] - Updated MPFR download link.</para>
         </listitem>
diff --git a/BOOK/introduction/x86/changelog.xml b/BOOK/introduction/x86/changelog.xml
index 4effb92..f2e28ae 100644
--- a/BOOK/introduction/x86/changelog.xml
+++ b/BOOK/introduction/x86/changelog.xml
@@ -33,6 +33,16 @@
 -->
 
     <listitem>
+      <para>February 10, 2011</para>
+      <itemizedlist>
+        <listitem>
+          <para>[abradford] - Removed ABI selection for x86, it isn't
+          needed and was misleading.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>November 05, 2006</para>
       <itemizedlist>
         <listitem>

commit 60b91a4bc082a0497f33fe5d60c64b481c9f3175
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Wed Feb 9 07:55:53 2011 -0500

    Git ignore temp files ending in ~

diff --git a/.gitignore b/.gitignore
index 85e2410..a877248 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 *.swp
-\#*#
\ No newline at end of file
+\#*#
+*~
\ No newline at end of file

commit d5c74180c74610d9d0b31110bd1a338b036c04aa
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Wed Feb 9 07:47:11 2011 -0500

    Changed BUILD variable name to CLFS_ABI
    
    It better represents what the variable stands for.
    It picks the ABI to use when compiling GCC.

diff --git a/BOOK/cross-tools/arm/abi.xml b/BOOK/cross-tools/arm/abi.xml
index b01bc98..1627a2c 100644
--- a/BOOK/cross-tools/arm/abi.xml
+++ b/BOOK/cross-tools/arm/abi.xml
@@ -48,7 +48,7 @@
       <thead>
         <row>
           <entry>ABI</entry>
-          <entry>BUILD=Value</entry>
+          <entry>CLFS_ABI=Value</entry>
           <entry>Note</entry>
         </row>
       </thead>
diff --git a/BOOK/cross-tools/common/abi.xml b/BOOK/cross-tools/common/abi.xml
index c8aa438..d9b90cd 100644
--- a/BOOK/cross-tools/common/abi.xml
+++ b/BOOK/cross-tools/common/abi.xml
@@ -12,43 +12,13 @@
 
   <para os="a" >Setup for a Particular ABI:</para>
 
-<screen os="b"><userinput>export BUILD="<replaceable>[From Chart]</replaceable>"
-echo export BUILD=\""${BUILD}\"" >> ~/.bashrc</userinput></screen>
+<screen os="b"><userinput>export CLFS_ABI="<replaceable>[From Chart]</replaceable>"
+echo export CLFS_ABI=\""${CLFS_ABI}\"" >> ~/.bashrc</userinput></screen>
 
   <para os="c">The following table gives the entires for the different ABI's 
   that CLFS Embedded supports. Make sure you select one for your build, this
   will ensure capatibilty of your build with your target architecture.</para>
 
-  <table>
-    <title>List of Build Variables</title>
-    <?dbfo table-width="3in" ?>
-
-    <tgroup cols="2">
-
-      <colspec colnum="1" colwidth="1.5in" colname="ABI to Select"/>
-      <colspec colnum="2" colwidth="1.5in" colname="Variable Value"/>
-
-      <thead>
-        <row>
-          <entry>ABI</entry>
-          <entry>BUILD=Value</entry>
-        </row>
-      </thead>
-
-      <tbody>
-        <row>
-          <entry>32-Bit for x86 and x86_64</entry>
-          <entry>-m32</entry>
-        </row>
-        <row>
-          <entry>64-Bit for x86_64 only</entry>
-          <entry>-m64</entry>
-        </row>
-      </tbody>
-
-    </tgroup>
-
-  </table>
 
 </sect1>
 
diff --git a/BOOK/cross-tools/common/gcc-final.xml b/BOOK/cross-tools/common/gcc-final.xml
index bc36625..889091c 100644
--- a/BOOK/cross-tools/common/gcc-final.xml
+++ b/BOOK/cross-tools/common/gcc-final.xml
@@ -40,7 +40,7 @@
   --with-sysroot=${CLFS} --disable-nls --enable-shared \
   --enable-languages=c --enable-c99 --enable-long-long \
   --with-mpfr=${CLFS}/cross-tools --with-gmp=${CLFS}/cross-tools \
-  --with-mpc=${CLFS}/cross-tools --with-abi=${BUILD}</userinput></screen>
+  --with-mpc=${CLFS}/cross-tools --with-abi=${CLFS_ABI}</userinput></screen>
 
     <variablelist os="af">
       <title>The meaning of the configure options not used previously:</title>
diff --git a/BOOK/cross-tools/common/gcc-static.xml b/BOOK/cross-tools/common/gcc-static.xml
index c3f1ef3..a8c7e58 100644
--- a/BOOK/cross-tools/common/gcc-static.xml
+++ b/BOOK/cross-tools/common/gcc-static.xml
@@ -43,7 +43,7 @@ cd ../gcc-build</userinput></screen>
   --with-mpc=${CLFS}/cross-tools --without-headers --with-newlib \
   --disable-decimal-float --disable-libgomp --disable-libmudflap \
   --disable-libssp --disable-threads --enable-languages=c \
-  --with-abi=${BUILD}</userinput></screen>
+  --with-abi=${CLFS_ABI}</userinput></screen>
 
     <variablelist os="af">
       <title>The meaning of the configure options:</title>
@@ -207,7 +207,7 @@ cd ../gcc-build</userinput></screen>
       </varlistentry>
 
       <varlistentry os="af19">
-        <term><parameter>--with-abi=${BUILD}</parameter></term>
+        <term><parameter>--with-abi=${CLFS_ABI}</parameter></term>
         <listitem>
           <para>This option sets the ABI selected earlier.</para>
         </listitem>
diff --git a/BOOK/cross-tools/mips/abi.xml b/BOOK/cross-tools/mips/abi.xml
index c01c2f4..8efe494 100644
--- a/BOOK/cross-tools/mips/abi.xml
+++ b/BOOK/cross-tools/mips/abi.xml
@@ -34,7 +34,7 @@
       <thead>
         <row>
           <entry>ABI</entry>
-          <entry>BUILD=Value</entry>
+          <entry>CLFS_ABI=Value</entry>
         </row>
       </thead>
 

commit 7926af12208715d0ce7ad7bf14ae880b753687da
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Wed Feb 9 07:36:14 2011 -0500

    Cleaned up Build Variables sections
    
    Everyone was referencing the x86 Build Variables section but now x86
    has some unique variables.  So created a common/vairables.xml from
    the existing x86/variables.xml but removed parts that weren't common.
    
    Now arm and mips both reference the common/variables.xml file and have
    their unique parts.

diff --git a/BOOK/cross-tools/arm/variables.xml b/BOOK/cross-tools/arm/variables.xml
index 1e73dcd..5dd75eb 100644
--- a/BOOK/cross-tools/arm/variables.xml
+++ b/BOOK/cross-tools/arm/variables.xml
@@ -12,27 +12,30 @@
 
   <bridgehead renderas="sect4">Setting Host and Target</bridgehead>
 
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/variables.xml"
-  xpointer="xpointer(//*[@os='a'])"/>
+  <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 and CPU
+  endianess. If you do not know what triplet or endianess 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>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/variables.xml"
+  href="../common/variables.xml"
   xpointer="xpointer(//*[@os='b'])"/>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/variables.xml"
+  href="../common/variables.xml"
   xpointer="xpointer(//*[@os='c'])"/>
 
 <screen os="d"><userinput>export CLFS_ARCH=arm
 export CLFS_ENDIAN=<replaceable>[endianess]</replaceable></userinput></screen>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/variables.xml"
+  href="../common/variables.xml"
   xpointer="xpointer(//*[@os='g'])"/>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/variables.xml"
+  href="../common/variables.xml"
   xpointer="xpointer(//*[@os='h'])"/>
 
   <table os="i">
diff --git a/BOOK/cross-tools/common/variables.xml b/BOOK/cross-tools/common/variables.xml
new file mode 100644
index 0000000..1ccf3dd
--- /dev/null
+++ b/BOOK/cross-tools/common/variables.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-cross-tools-variables">
+  <?dbhtml filename="variables.html"?>
+
+  <title>Build Variables</title>
+
+  <bridgehead renderas="sect4">Setting Host and Target</bridgehead>
+
+<screen os="b"><userinput>export CLFS_HOST=$(echo ${MACHTYPE} | sed "s/-[^-]*/-cross/")
+export CLFS_TARGET=<replaceable>[target triplet]</replaceable></userinput></screen>
+
+  <para os="c">Now we will set the architecture and endianess 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>
+
+  <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_ENDIAN=\""${CLFS_ENDIAN}\"" >> ~/.bashrc</userinput></screen>
+
+</sect1>
diff --git a/BOOK/cross-tools/mips/variables.xml b/BOOK/cross-tools/mips/variables.xml
index 85f1916..b46d62f 100644
--- a/BOOK/cross-tools/mips/variables.xml
+++ b/BOOK/cross-tools/mips/variables.xml
@@ -12,16 +12,19 @@
 
   <bridgehead renderas="sect4">Setting Host and Target</bridgehead>
 
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/variables.xml"
-  xpointer="xpointer(//*[@os='a'])"/>
+  <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 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
+  the command using the method listed below:</para>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/variables.xml"
+  href="../common/variables.xml"
   xpointer="xpointer(//*[@os='b'])"/>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/variables.xml"
+  href="../common/variables.xml"
   xpointer="xpointer(//*[@os='c'])"/>
 
 <screen os="d"><userinput>export CLFS_ARCH=$(echo ${CLFS_TARGET} | sed -e 's/\(mips\)\(64\)\?\(el\)\?-.*/\1\3/')
@@ -35,7 +38,7 @@ we are only using 2. For more information, go to
 <screen os="m2"><userinput>export CLFS_MIPS_LEVEL="{mips level}"</userinput></screen>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/variables.xml"
+  href="../common/variables.xml"
   xpointer="xpointer(//*[@os='g'])"/>
 
 <screen os="h"><userinput>echo export CLFS_HOST=\""${CLFS_HOST}\"" >> ~/.bashrc
diff --git a/BOOK/cross-tools/x86/variables.xml b/BOOK/cross-tools/x86/variables.xml
index 8be5d46..f17323f 100644
--- a/BOOK/cross-tools/x86/variables.xml
+++ b/BOOK/cross-tools/x86/variables.xml
@@ -35,7 +35,8 @@ 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</userinput></screen>
+echo export CLFS_ENDIAN=\""${CLFS_ENDIAN}\"" >> ~/.bashrc
+echo export CLFS_ENDIAN=\""${CLFS_CPU}\"" >> ~/.bashrc</userinput></screen>
 
   <table os="i">
     <title>Processor Type and  Target Triplets</title>

commit 541ad7b9040d43e4a28c4638a0b7ab76e4216988
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Wed Feb 9 07:22:34 2011 -0500

    Moved x86/abi.xml to common/abi.xml
    
    x86 doesn't have an abi.xml anymore so moved the x86 page that mips
    and arm referenced to be in the common directory.  Updated mips and arm
    abi.xml files to point to common instead of x86.

diff --git a/BOOK/cross-tools/arm/abi.xml b/BOOK/cross-tools/arm/abi.xml
index c8df8f7..b01bc98 100644
--- a/BOOK/cross-tools/arm/abi.xml
+++ b/BOOK/cross-tools/arm/abi.xml
@@ -24,15 +24,15 @@
   older cores.</para>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/abi.xml"
+  href="../common/abi.xml"
   xpointer="xpointer(//*[@os='a'])"/>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/abi.xml"
+  href="../common/abi.xml"
   xpointer="xpointer(//*[@os='b'])"/>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/abi.xml"
+  href="../common/abi.xml"
   xpointer="xpointer(//*[@os='c'])"/>
 
   <table>
diff --git a/BOOK/cross-tools/x86/abi.xml b/BOOK/cross-tools/common/abi.xml
similarity index 100%
rename from BOOK/cross-tools/x86/abi.xml
rename to BOOK/cross-tools/common/abi.xml
diff --git a/BOOK/cross-tools/mips/abi.xml b/BOOK/cross-tools/mips/abi.xml
index 8e1f8f4..c01c2f4 100644
--- a/BOOK/cross-tools/mips/abi.xml
+++ b/BOOK/cross-tools/mips/abi.xml
@@ -11,15 +11,15 @@
   <title>ABI Variables</title>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/abi.xml"
+  href="../common/abi.xml"
   xpointer="xpointer(//*[@os='a'])"/>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/abi.xml"
+  href="../common/abi.xml"
   xpointer="xpointer(//*[@os='b'])"/>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../x86/abi.xml"
+  href="../common/abi.xml"
   xpointer="xpointer(//*[@os='c'])"/>
 
   <table>

commit 9f0beb084d06e5580ca18c6f9e5dc818dfa0a23d
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Wed Feb 9 07:15:46 2011 -0500

    Changed x86 GCC-Final to use --with-arch=
    
    Made x86 GCC-Final not common so it can also use the --with-arch=
    switch to configure.  Creates cross GCC-static that only outputs
    instructions for the CLFS_CPU selected CPU.

diff --git a/BOOK/cross-tools/x86-chapter.xml b/BOOK/cross-tools/x86-chapter.xml
index b52bb6a..3f9aa6c 100644
--- a/BOOK/cross-tools/x86-chapter.xml
+++ b/BOOK/cross-tools/x86-chapter.xml
@@ -21,6 +21,6 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/gcc-static.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/uclibc.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-final.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/gcc-final.xml"/>
 
 </chapter>
diff --git a/BOOK/cross-tools/x86/gcc-final.xml b/BOOK/cross-tools/x86/gcc-final.xml
new file mode 100644
index 0000000..fe6118a
--- /dev/null
+++ b/BOOK/cross-tools/x86/gcc-final.xml
@@ -0,0 +1,170 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-cross-tools-gcc-final" role="wrap">
+  <?dbhtml filename="gcc-final.html"?>
+
+  <title>GCC-&gcc-version; - Cross Compiler Final</title>
+
+  <indexterm zone="ch-cross-tools-gcc-final">
+    <primary sortas="a-GCC">GCC</primary>
+    <secondary>cross tools, final</secondary>
+  </indexterm>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/gcc-static.xml"
+  xpointer="xpointer(//*[@role='package'])"/>
+
+  <sect2 role="installation">
+    <title>Installation of GCC Cross Compiler</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/gcc-static.xml"
+    xpointer="xpointer(//*[@os='c'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/gcc-static.xml"
+    xpointer="xpointer(//*[@os='d'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/gcc-static.xml"
+    xpointer="xpointer(//*[@os='e'])"/>
+
+<screen os="ae"><userinput>AR=ar LDFLAGS="-Wl,-rpath,${CLFS}/cross-tools/lib" \
+  ../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \
+  --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \
+  --with-sysroot=${CLFS} --disable-nls --enable-shared \
+  --enable-languages=c --enable-c99 --enable-long-long \
+  --with-mpfr=${CLFS}/cross-tools --with-gmp=${CLFS}/cross-tools \
+  --with-mpc=${CLFS}/cross-tools --with-arch=${CLFS_CPU}</userinput></screen>
+
+    <variablelist os="af">
+      <title>The meaning of the configure options not used previously:</title>
+
+      <varlistentry os="af1">
+        <term><parameter>--enable-shared</parameter></term>
+        <listitem>
+          <para>Enables the creation of the shared libraries.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry os="af2">
+        <term><parameter>--enable-c99</parameter></term>
+        <listitem>
+          <para>Enable C99 support for C programs.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry os="af3">
+        <term><parameter>--enable-long-long</parameter></term>
+        <listitem>
+          <para>Enables long long support in the compiler.</para>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="gcc-static.xml"
+    xpointer="xpointer(//*[@os='ag'])"/>
+
+<screen os="ah"><userinput>make</userinput></screen>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../common/gcc-static.xml"
+    xpointer="xpointer(//*[@os='ai'])"/>
+
+<screen os="aj"><userinput>make install</userinput></screen>
+
+  </sect2>
+
+  <sect2 id="contents-gcc" role="content">
+    <title>Contents of GCC</title>
+
+    <segmentedlist>
+      <segtitle>Installed programs</segtitle>
+      <segtitle>Installed libraries</segtitle>
+
+      <seglistitem>
+        <seg>cc (link to gcc), gcc, gccbug, and gcov</seg>
+        <seg>libgcc.a, libgcc_eh.a, libgcc_s.so, libmudflap.[a,so],
+        and libmudflapth.[a,so]</seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="cc">
+        <term><command>cc</command></term>
+        <listitem>
+          <para>The C compiler</para>
+          <indexterm zone="ch-cross-tools-gcc-final cc">
+            <primary sortas="b-cc">cc</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="gcc">
+        <term><command>gcc</command></term>
+        <listitem>
+          <para>The C compiler</para>
+          <indexterm zone="ch-cross-tools-gcc-final gcc">
+            <primary sortas="b-gcc">gcc</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="gccbug">
+        <term><command>gccbug</command></term>
+        <listitem>
+          <para>A shell script used to help create useful bug reports</para>
+          <indexterm zone="ch-cross-tools-gcc-final gccbug">
+            <primary sortas="b-gccbug">gccbug</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="gcov">
+        <term><command>gcov</command></term>
+        <listitem>
+          <para>A coverage testing tool; it is used to analyze programs to
+          determine where optimizations will have the most effect</para>
+          <indexterm zone="ch-cross-tools-gcc-final gcov">
+            <primary sortas="b-gcov">gcov</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="libgcc">
+        <term><filename class="libraryfile">libgcc</filename></term>
+        <listitem>
+          <para>Contains run-time support for <command>gcc</command></para>
+          <indexterm zone="ch-cross-tools-gcc-final libgcc">
+            <primary sortas="c-libgcc*">libgcc*</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="libmudflap">
+        <term><filename class="libraryfile">libmudflap</filename></term>
+        <listitem>
+          <para>The libmudflap libraries are used by GCC for instrumenting
+          pointer and array dereferencing operations.</para>
+          <indexterm zone="ch-cross-tools-gcc-final libmudflap">
+            <primary sortas="c-libmudflap*">libmudflap*</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>

commit b7f546755f044ae7386a54750b6dc1fc979bfa4d
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Wed Feb 9 07:08:48 2011 -0500

    Changed x86 GCC-Static to use --with-arch=
    
    Made x86 GCC-Static not common so that it can use the --with-arch=
    switch for configure.  This will create a cross-GCC-static that
    only outputs instructions for the CLFS_CPU selected variable.

diff --git a/BOOK/cross-tools/x86-chapter.xml b/BOOK/cross-tools/x86-chapter.xml
index f97ac69..b52bb6a 100644
--- a/BOOK/cross-tools/x86-chapter.xml
+++ b/BOOK/cross-tools/x86-chapter.xml
@@ -19,7 +19,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mpfr.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mpc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-static.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/gcc-static.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/uclibc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-final.xml"/>
 
diff --git a/BOOK/cross-tools/x86/gcc-static.xml b/BOOK/cross-tools/x86/gcc-static.xml
new file mode 100644
index 0000000..5e590bc
--- /dev/null
+++ b/BOOK/cross-tools/x86/gcc-static.xml
@@ -0,0 +1,249 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-cross-tools-gcc-static" role="wrap">
+  <?dbhtml filename="gcc-static.html"?>
+
+  <title>Cross GCC-&gcc-version; - Static</title>
+
+  <indexterm zone="ch-cross-tools-gcc-static">
+    <primary sortas="a-GCC">GCC</primary>
+    <secondary>cross tools, static</secondary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title/>
+
+    <para>The GCC package contains the GNU compiler collection, which includes
+    the C and C++ compilers.</para>
+
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of Cross GCC Compiler with Static libgcc
+    and no Threads</title>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/gcc-static.xml"
+  xpointer="xpointer(//*[@os='c'])"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/gcc-static.xml"
+  xpointer="xpointer(//*[@os='d'])"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/gcc-static.xml"
+  xpointer="xpointer(//*[@os='e'])"/>
+
+<screen os="ae"><userinput>AR=ar LDFLAGS="-Wl,-rpath,${CLFS}/cross-tools/lib" \
+  ../gcc-&gcc-version;/configure --prefix=${CLFS}/cross-tools \
+  --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
+  --with-sysroot=${CLFS} --disable-nls  --disable-shared \
+  --with-mpfr=${CLFS}/cross-tools --with-gmp=${CLFS}/cross-tools \
+  --with-mpc=${CLFS}/cross-tools --without-headers --with-newlib \
+  --disable-decimal-float --disable-libgomp --disable-libmudflap \
+  --disable-libssp --disable-threads --enable-languages=c \
+  --with-arch=${CLFS_CPU}</userinput></screen>
+
+    <variablelist os="af">
+      <title>The meaning of the configure options:</title>
+
+      <varlistentry os="af1">
+        <term><parameter>--prefix=${CLFS}/cross-tools</parameter></term>
+        <listitem>
+          <para>This tells the configure script to prepare to install the
+          package in the <filename class="directory">${CLFS}/cross-tools</filename>
+          directory.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry os="af2">
+        <term><parameter>--build=${CLFS_HOST}</parameter></term>
+        <listitem>
+          <para>This tells the configure script the triplet to use to build GCC.
+          It will use ${CLFS_HOST} as that's where it's being built.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry os="af3">
+        <term><parameter>--host=${CLFS_HOST}</parameter></term>
+        <listitem>
+          <para>This tells the configure script the triplet of the machine GCC 
+          will be executed on when actually cross compiling.  It will use 
+          ${CLFS_HOST} as that's where GCC will execute when cross compiling
+          software later.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry os="af4">
+        <term><parameter>--target=${CLFS_TARGET}</parameter></term>
+        <listitem>
+          <para>This tells the configure script the triplet of the machine GCC
+          will build executables for.  It will use ${CLFS_TARGET} so that software
+          compiled with this version of GCC can be executed on the embedded machine
+          target.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry os="af5">
+        <term><parameter>--with-sysroot=${CLFS}</parameter></term>
+        <listitem>
+          <para>This tells configure that ${CLFS} is going to be the root
+          of our system. It will now use the specified sysroot, ${CLFS}, as
+          a prefix of the default search paths.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry os="af6">
+        <term><parameter>--disable-nls</parameter></term>
+        <listitem>
+          <para>This disables internationalization as i18n is not needed for the
+          cross-compile tools.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry os="af7">
+        <term><parameter>--disable-shared</parameter></term>
+        <listitem>
+          <para>Disables the creation of the shared libraries.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry os="af8">
+        <term><parameter>--with-mpfr=${CLFS}/cross-tools</parameter></term>
+        <listitem>
+          <para>Tells configure where to find the 
+          <filename class="directory">lib</filename> and 
+          <filename class="directory">include</filename> directories
+          that contain MPFR which was built earlier.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry os="af9">
+        <term><parameter>--with-gmp=${CLFS}/cross-tools</parameter></term>
+        <listitem>
+          <para>Tells configure where to find the 
+          <filename class="directory">lib</filename> and 
+          <filename class="directory">include</filename> directories
+          that contain GMP which was built earlier.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry os="af10">
+        <term><parameter>--with-mpc=${CLFS}/cross-tools</parameter></term>
+        <listitem>
+          <para>Tells configure where to find the 
+          <filename class="directory">lib</filename> and 
+          <filename class="directory">include</filename> directories
+          that contain MPC which was built earlier.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry os="af11">
+        <term><parameter>--without-headers</parameter></term>
+        <listitem>
+          <para>Tells configure to not use any headers from any C libraries.
+          This is needed as we haven't yet built the C library and to prevent
+          influence from the host environment.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry os="af12">
+        <term><parameter>--with-newlib</parameter></term>
+        <listitem>
+          <para>Tells configure to build libgcc without needing any C
+          libraries.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry os="af13">
+        <term><parameter>--disable-decimal-float</parameter></term>
+        <listitem>
+          <para>Tells configure to disable IEEE 754-2008 decimal floating
+          point support.  Decimal floating point support isn't needed yet.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry os="af14">
+        <term><parameter>--disable-libgomp</parameter></term>
+        <listitem>
+          <para>Tells configure to not build the GOMP run-time libraries.
+          GOMP is the GNU implementation of OpenMP, a API for shared-memory
+          parallel programming.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry os="af15">
+        <term><parameter>--disable-libmudflap</parameter></term>
+        <listitem>
+          <para>Tells configure to not build libmudflap.  Mudflap is a 
+          library that can be used to help check for proper pointer usage.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry os="af16">
+        <term><parameter>--disable-libssp</parameter></term>
+        <listitem>
+          <para>Tells configure not to build run-time libraries for stack
+          smashing detection.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry os="af17">
+        <term><parameter>--disable-threads</parameter></term>
+        <listitem>
+          <para>This will prevent GCC from looking for the multi-thread
+          include files, since they haven't been created for this architecture
+          yet. GCC will be able to find the multi-thread information after
+          the glib headers are created.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry os="af18">
+        <term><parameter>--enable-languages=c</parameter></term>
+        <listitem>
+          <para>This option ensures that only the C compiler is built.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry os="af19">
+        <term><parameter>--with-arch=${CLFS_CPU}</parameter></term>
+        <listitem>
+          <para>This option configures the cross compiler to only output
+          instructions for our previously selected CPU.</para>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/gcc-static.xml"
+  xpointer="xpointer(//*[@os='ag'])"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/gcc-static.xml"
+  xpointer="xpointer(//*[@os='ah'])"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/gcc-static.xml"
+  xpointer="xpointer(//*[@os='ai'])"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../common/gcc-static.xml"
+  xpointer="xpointer(//*[@os='aj'])"/>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title/>
+
+    <para>Details on this package are located in <xref
+    linkend="contents-gcc" role="."/></para>
+
+  </sect2>
+
+</sect1>

commit 6b723ad3794ed5bdea22c16df69dc9a02cd541ec
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Wed Feb 9 06:53:24 2011 -0500

    Removed x86 ABI, added CLFS_CPU variable
    
    Removed the x86 ABI page from being rendered in the book as it isn't
    needed.  We weren't actually pick an ABI for x86, we were picking if
    we wanted 32 or 64 bit versions of x86.  This would be better handled
    if we were to pick which CPU architecture GCC should be compiled for
    and then have a GCC that only outputs code for said 32 or 64 bit CPU.
    
    Added the CLFS_CPU variable so that CPU architectures can be picked
    from the list at:
    http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html
    We'll eventually use this CLFS_CPU choice with GCC's --with-arch=
    configure line to generate a GCC just for our CPU.

diff --git a/BOOK/cross-tools/x86-chapter.xml b/BOOK/cross-tools/x86-chapter.xml
index f1e9f32..f97ac69 100644
--- a/BOOK/cross-tools/x86-chapter.xml
+++ b/BOOK/cross-tools/x86-chapter.xml
@@ -13,7 +13,6 @@
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/cflags.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/abi.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/variables.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/linux-headers.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gmp.xml"/>
diff --git a/BOOK/cross-tools/x86/variables.xml b/BOOK/cross-tools/x86/variables.xml
index dfd731b..8be5d46 100644
--- a/BOOK/cross-tools/x86/variables.xml
+++ b/BOOK/cross-tools/x86/variables.xml
@@ -14,13 +14,14 @@
 
   <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. As well
-  as the CPUs type and endianess. If you do not know what triplet you want,
+  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 can use the table at the bottom of this page 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></userinput></screen>
+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
   on the target triplet provided above:</para>
@@ -38,17 +39,21 @@ echo export CLFS_ENDIAN=\""${CLFS_ENDIAN}\"" >> ~/.bashrc</userinput></scr
 
   <table os="i">
     <title>Processor Type and  Target Triplets</title>
-    <?dbfo table-width="4.5in" ?>
+    <?dbfo table-width="7.5in" ?>
 
     <tgroup cols="2">
 
       <colspec colnum="1" colwidth="2.5in"   colname="Processor"/>
       <colspec colnum="2" colwidth="2in" colname="Triplet"/>
+      <colspec colnum="3" colwidth="0.5in" colname="CPU Type"/>
+      <colspec colnum="4" colwidth="2.5in" colname="Note"/>
 
       <thead>
         <row>
           <entry>Processor</entry>
           <entry>Target Triplet</entry>
+          <entry>CPU Type</entry>
+          <entry>Note</entry>
         </row>
       </thead>
 
@@ -56,22 +61,32 @@ echo export CLFS_ENDIAN=\""${CLFS_ENDIAN}\"" >> ~/.bashrc</userinput></scr
         <row>
           <entry>486 Compatibles</entry>
           <entry>i486-pc-linux-uclibc</entry>
+          <entry>i486</entry>
+          <entry>Intel's i486</entry>
         </row>
         <row>
           <entry>Pentium, K6, 586 Compatibles</entry>
           <entry>i586-pc-linux-uclibc</entry>
+          <entry>i586</entry>
+          <entry>Intel Pentium without MMX</entry>
         </row>
         <row>
           <entry>Pentium II, Pentium III, Pentium 4</entry>
           <entry>i686-pc-linux-uclibc</entry>
+          <entry>i686</entry>
+          <entry>PentiumPro instruction set</entry>
         </row>
         <row>
-          <entry>Athlon, Duron</entry>
+          <entry>Athlon</entry>
           <entry>i686-pc-linux-uclibc</entry>
+          <entry>athlon</entry>
+          <entry>AMD 32 bit Athlon</entry>
         </row>
         <row>
-          <entry>x86_64</entry>
+          <entry>Opteron</entry>
           <entry>x86_64-unknown-linux-uclibc</entry>
+          <entry>k8</entry>
+          <entry>AMD K8 processors with x86-64</entry>
         </row>
       </tbody>
 

commit ff29c769629bd35df250cf36b750b4bc26bf9787
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Wed Feb 9 06:14:34 2011 -0500

    Added some more examples to ARM build vars table

diff --git a/BOOK/cross-tools/arm/variables.xml b/BOOK/cross-tools/arm/variables.xml
index f2afc87..1e73dcd 100644
--- a/BOOK/cross-tools/arm/variables.xml
+++ b/BOOK/cross-tools/arm/variables.xml
@@ -63,16 +63,22 @@ export CLFS_ENDIAN=<replaceable>[endianess]</replaceable></userinput></screen>
           <entry>arm-unknown-linux-uclibc</entry>
         </row>
         <row>
-          <entry>Generic arm, version 5</entry>
+          <entry>Generic arm, version 4</entry>
           <entry>little</entry>
           <entry>OABI</entry>
-          <entry>armv5l-unknown-linux-uclibc</entry>
+          <entry>armv4-unknown-linux-uclibc</entry>
+        </row>
+        <row>
+          <entry>Generic arm, version 5</entry>
+          <entry>little</entry>
+          <entry>EABI</entry>
+          <entry>armv5l-unknown-linux-uclibcgnueabi</entry>
         </row>
         <row>
           <entry>Generic arm, version 5</entry>
           <entry>big</entry>
-          <entry>OABI</entry>
-          <entry>armv5b-unknown-linux-uclibc</entry>
+          <entry>EABI</entry>
+          <entry>armv5b-unknown-linux-uclibcgnueabi</entry>
         </row>
         <row>
           <entry>Generic arm</entry>
@@ -80,6 +86,12 @@ export CLFS_ENDIAN=<replaceable>[endianess]</replaceable></userinput></screen>
           <entry>EABI</entry>
           <entry>arm-unknown-linux-uclibcgnueabi</entry>
         </row>
+        <row>
+          <entry>Generic arm, version 7-a </entry>
+          <entry>little</entry>
+          <entry>EABI</entry>
+          <entry>armv7a-unknown-linux-uclibcgnueabi</entry>
+        </row>
       </tbody>
 
     </tgroup>

commit 79bc6ced79bcbd728f90c2da749c247d1ff317a5
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Sun Feb 6 16:18:15 2011 -0500

    Removed -mabi= from mips

diff --git a/BOOK/cross-tools/mips/abi.xml b/BOOK/cross-tools/mips/abi.xml
index 0bbd155..8e1f8f4 100644
--- a/BOOK/cross-tools/mips/abi.xml
+++ b/BOOK/cross-tools/mips/abi.xml
@@ -41,15 +41,15 @@
       <tbody>
         <row>
           <entry>32-Bit</entry>
-          <entry>-mabi=32</entry>
+          <entry>32</entry>
         </row>
         <row>
           <entry>N32</entry>
-          <entry>-mabi=n32</entry>
+          <entry>n32</entry>
         </row>
         <row>
           <entry>64-Bit</entry>
-          <entry>-mabi=64</entry>
+          <entry>64</entry>
         </row>
       </tbody>
 

commit 485885e09bdb325caf6126c82d0903aa3e8b9d5b
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Sun Feb 6 16:12:59 2011 -0500

    Removed BUILD from libnl configure

diff --git a/BOOK/beyond-clfs/common/libnl.xml b/BOOK/beyond-clfs/common/libnl.xml
index d94cb42..f1a46d9 100644
--- a/BOOK/beyond-clfs/common/libnl.xml
+++ b/BOOK/beyond-clfs/common/libnl.xml
@@ -30,7 +30,7 @@
 
     <para os="a">Configure libnl:</para>
 
-<screen os="b"><userinput>CC="${CC} ${BUILD} -Os" ./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen>
+<screen os="b"><userinput>CC="${CC} -Os" ./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen>
 
     <para os="c">Compile the package:</para>
 

commit c76b509e722b37a2bc6b938a0bdab36662ae67e8
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Sun Feb 6 16:12:33 2011 -0500

    Removed BUILD from iptables configure

diff --git a/BOOK/beyond-clfs/common/iptables.xml b/BOOK/beyond-clfs/common/iptables.xml
index ffadbc9..9e56d9d 100644
--- a/BOOK/beyond-clfs/common/iptables.xml
+++ b/BOOK/beyond-clfs/common/iptables.xml
@@ -31,7 +31,7 @@
 
     <para os="a">Configure IPTables:</para>
 
-<screen os="b"><userinput>CC="${CC} ${BUILD} -Os" ./configure --prefix=/usr --host=${CLFS_TARGET} \
+<screen os="b"><userinput>CC="${CC} -Os" ./configure --prefix=/usr --host=${CLFS_TARGET} \
   --libexecdir=/lib/iptables --without-kernel -enable-libipq --enable-shared</userinput></screen>
 
     <para os="c">Compile the package:</para>

commit efb31cdd1149b035ef171f79acba69ea3ecd7820
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Sun Feb 6 16:11:47 2011 -0500

    Removed BUILD from dropbear configure

diff --git a/BOOK/beyond-clfs/common/dropbear.xml b/BOOK/beyond-clfs/common/dropbear.xml
index 228f0c5..3e1510e 100644
--- a/BOOK/beyond-clfs/common/dropbear.xml
+++ b/BOOK/beyond-clfs/common/dropbear.xml
@@ -35,7 +35,7 @@ sed -e s/@LD@/@CC@/ Makefile.in.orig > Makefile.in</userinput></screen>
 
     <para os="a">Configure dropbear:</para>
 
-<screen os="b"><userinput>CC="${CC} ${BUILD} -Os" ./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen>
+<screen os="b"><userinput>CC="${CC} -Os" ./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen>
 
     <para os="c">Now we will utilize /dev/urandom instead of /dev/random. To allow
     this to be utilized we use the following sed:</para>

commit e8619f568baa4c79c84458b531919ddaf7f1cac0
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Sun Feb 6 16:10:42 2011 -0500

    Removed BUILD from zlib configure

diff --git a/BOOK/final-system/common/zlib.xml b/BOOK/final-system/common/zlib.xml
index dd37903..d12c546 100644
--- a/BOOK/final-system/common/zlib.xml
+++ b/BOOK/final-system/common/zlib.xml
@@ -32,7 +32,7 @@ sed -e 's/-O3/-Os/g' configure.orig > configure</userinput></screen>
 
     <para os="c">Prepare Zlib for compilation:</para>
 
-<screen os="d"><userinput>CC="${CC} ${BUILD}" ./configure --prefix=/usr --shared</userinput></screen>
+<screen os="d"><userinput>CC="${CC}" ./configure --prefix=/usr --shared</userinput></screen>
 
     <variablelist os="aa">
       <title>The meaning of the configure options:</title>

commit 9fbb8fb201743fc50eb3a4edb61e42cb78c9492f
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Sun Feb 6 16:09:22 2011 -0500

    Removed BUILD from e2fsprogs configure

diff --git a/BOOK/final-system/common/e2fsprogs.xml b/BOOK/final-system/common/e2fsprogs.xml
index f187229..8a6eac9 100644
--- a/BOOK/final-system/common/e2fsprogs.xml
+++ b/BOOK/final-system/common/e2fsprogs.xml
@@ -36,7 +36,7 @@ cd build</userinput></screen>
 
     <para os="c">Prepare E2fsprogs for compilation:</para>
 
-<screen os="d"><userinput>CC="${CC} ${BUILD} -Os" ../configure --prefix=/usr \
+<screen os="d"><userinput>CC="${CC} -Os" ../configure --prefix=/usr \
     --with-root-prefix="" --host=${CLFS_TARGET} --disable-tls \
     --disable-debugfs --disable-e2initrd-helper --disable-nls</userinput></screen>
 

commit d05636eac3ff8da683d30a4a38ee4a438bab4b86
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Sun Feb 6 15:58:50 2011 -0500

    Set ABI when compiling GCC

diff --git a/BOOK/cross-tools/common/gcc-final.xml b/BOOK/cross-tools/common/gcc-final.xml
index 519a53b..bc36625 100644
--- a/BOOK/cross-tools/common/gcc-final.xml
+++ b/BOOK/cross-tools/common/gcc-final.xml
@@ -40,7 +40,7 @@
   --with-sysroot=${CLFS} --disable-nls --enable-shared \
   --enable-languages=c --enable-c99 --enable-long-long \
   --with-mpfr=${CLFS}/cross-tools --with-gmp=${CLFS}/cross-tools \
-  --with-mpc=${CLFS}/cross-tools</userinput></screen>
+  --with-mpc=${CLFS}/cross-tools --with-abi=${BUILD}</userinput></screen>
 
     <variablelist os="af">
       <title>The meaning of the configure options not used previously:</title>
diff --git a/BOOK/cross-tools/common/gcc-static.xml b/BOOK/cross-tools/common/gcc-static.xml
index 9071263..c3f1ef3 100644
--- a/BOOK/cross-tools/common/gcc-static.xml
+++ b/BOOK/cross-tools/common/gcc-static.xml
@@ -42,7 +42,8 @@ cd ../gcc-build</userinput></screen>
   --with-mpfr=${CLFS}/cross-tools --with-gmp=${CLFS}/cross-tools \
   --with-mpc=${CLFS}/cross-tools --without-headers --with-newlib \
   --disable-decimal-float --disable-libgomp --disable-libmudflap \
-  --disable-libssp --disable-threads --enable-languages=c</userinput></screen>
+  --disable-libssp --disable-threads --enable-languages=c \
+  --with-abi=${BUILD}</userinput></screen>
 
     <variablelist os="af">
       <title>The meaning of the configure options:</title>
@@ -205,6 +206,13 @@ cd ../gcc-build</userinput></screen>
         </listitem>
       </varlistentry>
 
+      <varlistentry os="af19">
+        <term><parameter>--with-abi=${BUILD}</parameter></term>
+        <listitem>
+          <para>This option sets the ABI selected earlier.</para>
+        </listitem>
+      </varlistentry>
+
     </variablelist>
 
     <para os="ag">Continue with compiling the package:</para>

commit d44503ccddd61dbda50483a79e5b75af39ef6d5a
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Sun Feb 6 15:53:46 2011 -0500

    Added info about ABIs to 6.4
    
    Broke out EABI from OABI in table.
    Not sure if armv5 should be OABI or EABI, put as OABI for now.

diff --git a/BOOK/cross-tools/arm/variables.xml b/BOOK/cross-tools/arm/variables.xml
index 1cd659c..f2afc87 100644
--- a/BOOK/cross-tools/arm/variables.xml
+++ b/BOOK/cross-tools/arm/variables.xml
@@ -36,18 +36,21 @@ export CLFS_ENDIAN=<replaceable>[endianess]</replaceable></userinput></screen>
   xpointer="xpointer(//*[@os='h'])"/>
 
   <table os="i">
-    <title>Processor Type and  Target Triplets</title>
-    <?dbfo table-width="5in" ?>
+    <title>Processor Type, ABI, and  Target Triplets</title>
+    <?dbfo table-width="7in" ?>
 
     <tgroup cols="2">
 
       <colspec colnum="1" colwidth="2.5in" colname="Processor"/>
-      <colspec colnum="2" colwidth="2.5in" colname="Triplet"/>
+      <colspec colnum="2" colwidth="1in" colname="Endian"/>
+      <colspec colnum="3" colwidth="1in" colname="ABI"/>
+      <colspec colnum="4" colwidth="2.5in" colname="Triplet"/>
 
       <thead>
         <row>
           <entry>Processor</entry>
-          <entry>Endianess</entry>
+          <entry>Endian</entry>
+          <entry>ABI</entry>
           <entry>Target Triplet</entry>
         </row>
       </thead>
@@ -56,18 +59,27 @@ export CLFS_ENDIAN=<replaceable>[endianess]</replaceable></userinput></screen>
         <row>
           <entry>Generic arm</entry>
           <entry>little</entry>
+          <entry>OABI</entry>
           <entry>arm-unknown-linux-uclibc</entry>
         </row>
         <row>
           <entry>Generic arm, version 5</entry>
           <entry>little</entry>
+          <entry>OABI</entry>
           <entry>armv5l-unknown-linux-uclibc</entry>
         </row>
         <row>
           <entry>Generic arm, version 5</entry>
           <entry>big</entry>
+          <entry>OABI</entry>
           <entry>armv5b-unknown-linux-uclibc</entry>
         </row>
+        <row>
+          <entry>Generic arm</entry>
+          <entry>little</entry>
+          <entry>EABI</entry>
+          <entry>arm-unknown-linux-uclibcgnueabi</entry>
+        </row>
       </tbody>
 
     </tgroup>

commit a6b552776828308cec768daba6cef1781b80d9f4
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Sun Feb 6 15:48:01 2011 -0500

    Removed -mabi='s from BUILD
    
    We're going to set the ABI when building GCC, don't need to use
    the -mabi= part for BUILD.

diff --git a/BOOK/cross-tools/arm/abi.xml b/BOOK/cross-tools/arm/abi.xml
index a395655..c8df8f7 100644
--- a/BOOK/cross-tools/arm/abi.xml
+++ b/BOOK/cross-tools/arm/abi.xml
@@ -56,27 +56,27 @@
       <tbody>
         <row>
           <entry>apcs-gnu</entry>
-          <entry>-mabi=apcs-gnu</entry>
+          <entry>apcs-gnu</entry>
           <entry>Legacy ABI, arm4 and older</entry>
         </row>
         <row>
           <entry>atpcs</entry>
-          <entry>-mabi=atpcs</entry>
+          <entry>atpcs</entry>
           <entry>Thumb ABI</entry>
         </row>
         <row>
           <entry>aapcs</entry>
-          <entry>-mabi=aapcs</entry>
+          <entry>aapcs</entry>
           <entry>EABI w/ variable size enums</entry>
         </row>
         <row>
           <entry>aapcs-linux</entry>
-          <entry>-mabi=aapcs-linux</entry>
+          <entry>aapcs-linux</entry>
           <entry>EABI w/ standard Linux 32 bit (int) enums</entry>
         </row>
         <row>
           <entry>iwmmxt</entry>
-          <entry>-mabi=iwmmxt</entry>
+          <entry>iwmmxt</entry>
           <entry>Supports Intel XScale MMX extensions</entry>
         </row>
       </tbody>

commit 69ce2ab93bcaa959f91cb2a716b6d7722799e6e9
Merge: 9cbe486 ee73578
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Sun Feb 6 15:47:29 2011 -0500

    Merge branch 'myclfs' into moveBUILD


commit 9cbe486f146c9253f01c2919f439a9425c39663e
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Sun Feb 6 15:45:17 2011 -0500

    Added info about OABI / EABI to section 6.3

diff --git a/BOOK/cross-tools/arm/abi.xml b/BOOK/cross-tools/arm/abi.xml
index 9c042b9..a395655 100644
--- a/BOOK/cross-tools/arm/abi.xml
+++ b/BOOK/cross-tools/arm/abi.xml
@@ -10,6 +10,19 @@
 
   <title>ABI Variables</title>
 
+  <para os="a">On the ARM architecture, there are two major ABI types to choose
+  from: EABI and OABI.  There is also a Thumb ABI and an Intel IWMMX specific
+  ABI.</para>
+
+  <para os="b">The EABI (Embedded ABI) is newer and supports additional
+  features, faster software floating point operations, and Thumb interworking,
+  but is only compatible with ARMv4t and newer cores.  The EABI has
+  sub-ABIs of: aapcs-linux and aapcs.  aapcs-linux has standard Linux 4 byte
+  enums while aapcs has variable length enums.</para>
+
+  <para os="c">The OABI (old ABI) is called apcs-gnu and supports ARMv4 and 
+  older cores.</para>
+
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
   href="../x86/abi.xml"
   xpointer="xpointer(//*[@os='a'])"/>

commit ee73578a265b015bb0526f7cc82ad1377d353fbc
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Sun Feb 6 15:13:57 2011 -0500

    Ignore Emacs temp files

diff --git a/.gitignore b/.gitignore
index 1377554..85e2410 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 *.swp
+\#*#
\ No newline at end of file

commit eabbc52c16d109683691e9633670e15387be8f73
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Sat Feb 5 09:51:48 2011 -0500

    Updated section 1.5 Resources
    
    A lot of info was about LFS project.  Changed to be more about CLFS
    but left a few links to valuable LFS resources.

diff --git a/BOOK/introduction/common/resources.xml b/BOOK/introduction/common/resources.xml
index 62a2548..a4b6f6e 100644
--- a/BOOK/introduction/common/resources.xml
+++ b/BOOK/introduction/common/resources.xml
@@ -23,16 +23,15 @@
   <sect2 id="ch-intro-maillists" xreflabel="Chapter 1 - Mailing Lists">
     <title>Mailing Lists</title>
 
-    <para>The <uri>linuxfromscratch.org</uri> server hosts a number of
+    <para>The <uri>cross-lfs.org</uri> server hosts a number of
     mailing lists used for the development of the CLFS project. These lists
     include the main development and support lists, among others. If the
     FAQ does not solve the problem you are having, the next step would be to
-    search the mailing lists at <ulink url="&lfs-root;search.html"/>.</para>
+    search the mailing lists at <ulink url="&clfs-wiki;wiki/lists"/>.</para>
 
     <para>For information on the different lists, how to subscribe, archive
     locations, and additional information, visit
-    <ulink url="&lfs-root;mail.html"/>. For mailing lists specifically
-    for CLFS, visit <ulink url="&clfs-wiki;wiki/lists"/>.</para>
+    <ulink url="&clfs-wiki;wiki/lists"/>.</para>
 
   </sect2>
 
@@ -54,8 +53,8 @@
     FAQ or the mailing list archives. You can find the IRC network at
     <uri>chat.freenode.net</uri>. The support channel for cross-lfs
     is named #cross-lfs. If you need to show people the output of your
-    problems, please use http://pastebin.cross-lfs.org and reference
-    the pastebin URL when asking your questions.</para>
+    problems, please use <ulink url="http://pastebin.cross-lfs.org"/> and 
+    reference the pastebin URL when asking your questions.</para>
 
   </sect2>
 
@@ -71,12 +70,12 @@
   <sect2 id="ch-intro-mirrors" xreflabel="Chapter 1 - Mirror sites">
     <title>Mirror Sites</title>
 
-    <para>The LFS project has a number of world-wide mirrors to make
+    <para>The LFS and CLFS projects have a number of world-wide mirrors to make
     accessing the website and downloading the required packages more
     convenient. Please visit the LFS website at <ulink
     url="&lfs-root;mirrors.html"/> for a list of current mirrors of
     the LFS website, or <ulink url="&clfs-wiki;wiki/mirrors"/> for
-    mirrors of CLFS.</para>
+    mirrors of the CLFS website.</para>
 
   </sect2>
 

commit 6ebe4299c834480bf97b11f0a5ca17a57b0aa89a
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Sat Feb 5 09:39:13 2011 -0500

    Copy editing of WRT section 1.5
    
    Changed small endian to be little endian and fixed spelling / grammar.

diff --git a/BOOK/introduction/wrt/supporteddevices.xml b/BOOK/introduction/wrt/supporteddevices.xml
index c443098..7199b67 100644
--- a/BOOK/introduction/wrt/supporteddevices.xml
+++ b/BOOK/introduction/wrt/supporteddevices.xml
@@ -9,9 +9,16 @@
   <title>Supported Devices for WRT</title>
   <?dbhtml filename="supported-devices.html"?>
 
-  <para>In order to build CLFS for your device, we need to know what processor it has, amd more inportantly if it is a big or small edin, and what MIPS ISA level it is. The MIPS ISA level is needed so that we can build uClibc properly. </para>
+  <para>In order to build CLFS for your device, we need to know what processor
+  it has, if it is big or little endian, and what MIPS ISA level it is. The 
+  MIPS ISA level is needed so that we can build uClibc properly. </para>
 
-  <para> The following is a list of devices that have been tested and reported as tested and working with this book. Apart from this list, there is no garentee that your device, apart from this list will work. If U secussfully get a device to work, please contact the CLFS Dev team, and we will add it to the list. For the most recent and up to date list, please view the SVN version of this book. </para>
+  <para>The following is a list of devices that have been tested and reported 
+  as tested and working with this book. Apart from this list, there is no 
+  guarantee that your device, will work. If you are successful in getting a
+  device to work, please contact the CLFS development team, and we will add 
+  it to the list. For the most recent and up to date list, please view the 
+  GIT version of this book. </para>
 
   <table os="g">
     <title>Supported Devices</title>
@@ -23,7 +30,7 @@
       <colspec colnum="2" colwidth="1.1in" colname="Device"/>
       <colspec colnum="3" colwidth="1in"   colname="Supported - Working"/>
       <colspec colnum="4" colwidth="2.2in" colname="Processor"/>
-      <colspec colnum="5" colwidth="1.1in" colname="Big or Small Endian"/>
+      <colspec colnum="5" colwidth="1.1in" colname="Endian"/>
       <colspec colnum="6" colwidth="1in"   colname="Mips Level"/>
 
       <thead>
@@ -32,7 +39,7 @@
           <entry>Device</entry>
           <entry>Supported - Working</entry>
           <entry>Processor</entry>
-          <entry>Big or Small Endian</entry>
+          <entry>Endian</entry>
           <entry>Mips Level</entry>
         </row>
       </thead>
@@ -43,7 +50,7 @@
           <entry>WRT54G Vs. 1</entry>
           <entry>Testing</entry>
           <entry>Broadcom 4712 @ 200MHz, 2MB Flash, 8MB RAM</entry>
-          <entry>Small</entry>
+          <entry>Little</entry>
           <entry>1 or 2, testing</entry>
         </row>
       </tbody>

commit deb99a33e29154acbb2c6d745536e4998cd5759f
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Tue Feb 1 06:16:41 2011 -0500

    Fixed typo in GMP formatting

diff --git a/BOOK/cross-tools/common/gmp.xml b/BOOK/cross-tools/common/gmp.xml
index 95041fb..5855c88 100644
--- a/BOOK/cross-tools/common/gmp.xml
+++ b/BOOK/cross-tools/common/gmp.xml
@@ -40,7 +40,7 @@
       5) will compile GMP without errors but in a subtly broken way.  To ensure
       GMP is compiled and functioning correctly, optionally run the test suite:</para>
 
-<screen os="d"><userinput>make check</userinput></screen>
+<screen><userinput>make check</userinput></screen>
     </note>
 
     <para os="f">Install the package:</para>

commit 285d1d095bc6f2adbc11cce8f06d96da6fe635df
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Tue Feb 1 06:13:26 2011 -0500

    Added option to run make check on GMP
    
    GCC version 4.3.2 compiles GMP but it will be broken.
    The test suite will catch this.  Added note to optionally run test suite.
    For info on broken-ness see:
    http://gmplib.org/#STATUS

diff --git a/BOOK/cross-tools/common/gmp.xml b/BOOK/cross-tools/common/gmp.xml
index f059ecd..95041fb 100644
--- a/BOOK/cross-tools/common/gmp.xml
+++ b/BOOK/cross-tools/common/gmp.xml
@@ -35,9 +35,17 @@
 
 <screen os="d"><userinput>make</userinput></screen>
 
-    <para os="e">Install the package:</para>
+    <note os="e">
+      <para>Some versions of GCC (notably 4.3.2 which ships with Debian
+      5) will compile GMP without errors but in a subtly broken way.  To ensure
+      GMP is compiled and functioning correctly, optionally run the test suite:</para>
 
-<screen os="f"><userinput>make install</userinput></screen>
+<screen os="d"><userinput>make check</userinput></screen>
+    </note>
+
+    <para os="f">Install the package:</para>
+
+<screen os="g"><userinput>make install</userinput></screen>
 
   </sect2>
 

commit 26c7a06fadc33d6b6821352f7a0ac6cefbb84f98
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Mon Jan 31 07:37:16 2011 -0500

    Updated book to reflect renamed iana-etc patch

diff --git a/BOOK/patches.ent b/BOOK/patches.ent
index 5a1979b..0960721 100644
--- a/BOOK/patches.ent
+++ b/BOOK/patches.ent
@@ -12,8 +12,8 @@
 <!ENTITY busybox-fixes-patch-md5 "64bee07ba3efbb512fb4f348e814bf31">
 <!ENTITY busybox-fixes-patch-size "4 KB">
 
-<!ENTITY iana-etc-update-patch "iana-etc-&iana-etc-version;-update.patch">
-<!ENTITY iana-etc-update-patch-md5 "ab594a1ec88d2e05f7379d4e4e2cdbdf">
+<!ENTITY iana-etc-update-patch "iana-etc-&iana-etc-version;-update-1.patch">
+<!ENTITY iana-etc-update-patch-md5 "9b4d102672fc8bf777bbb95d1007edda">
 <!ENTITY iana-etc-update-patch-size "864 KB">
 
 <!ENTITY uclibc-configs-patch "uClibc-&uclibc-version;-configs-2.patch">

commit 85ff85f1ccdc94c28888df67e24b84f59e247536
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Mon Jan 31 07:34:36 2011 -0500

    Renamed iana-etc patch to comply with name format

diff --git a/patches/iana-etc-2.30-update.patch b/patches/iana-etc-2.30-update-1.patch
similarity index 100%
rename from patches/iana-etc-2.30-update.patch
rename to patches/iana-etc-2.30-update-1.patch

commit 9eb69a254fedac415b4573c5def4f7281e7e825e
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Sun Jan 30 14:52:57 2011 -0500

    Updated date and changelog

diff --git a/BOOK/general.ent b/BOOK/general.ent
index c8f7df7..4526110 100644
--- a/BOOK/general.ent
+++ b/BOOK/general.ent
@@ -2,7 +2,7 @@
 
 <!ENTITY month "01"> <!-- Use two digits -->
 <!ENTITY month_name "January">
-<!ENTITY day "29"> <!-- Use two digits -->
+<!ENTITY day "30"> <!-- Use two digits -->
 <!ENTITY year "2011"> <!-- Use four digits -->
 
 <!ENTITY releasedate "&month_name; &day;, &year;">
diff --git a/BOOK/introduction/common/changelog.xml b/BOOK/introduction/common/changelog.xml
index 709c353..5a6b321 100644
--- a/BOOK/introduction/common/changelog.xml
+++ b/BOOK/introduction/common/changelog.xml
@@ -37,6 +37,30 @@
 -->
 
     <listitem>
+      <para>January 30, 2011</para>
+      <itemizedlist>
+        <listitem>
+          <para>[abradford] - Added notes to ARM ABI variable list.</para>
+        </listitem>
+        <listitem>
+          <para>[abradford] - Updated MPFR download link.</para>
+        </listitem>
+        <listitem>
+          <para>[abradford] - Updated GCC to version 4.5.2.</para>
+        </listitem>
+        <listitem>
+          <para>[abradford] - Updated Binutils to version 2.21.</para>
+        </listitem>
+        <listitem>
+          <para>[abradford] - Added information to GCC's configure options.</para>
+        </listitem>
+        <listitem>
+          <para>[abradford] - Updated Iana-Etc to use more up-to-date data.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>Janurary 10, 2011</para>
       <itemizedlist>
         <listitem>

commit 91396a05cd85c1b3c62cf8b1217dafa1c62ec383
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Sun Jan 30 13:20:15 2011 -0500

    Deleted bootscripts directory
    
    Bootscripts have all been moved to the bootscripts-embedded git repo.
    Deleting the bootscripts directory as it isn't needed in this repo.

diff --git a/bootscripts/LICENSE b/bootscripts/LICENSE
deleted file mode 100644
index 9a169f4..0000000
--- a/bootscripts/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-Copyright (c) 2007-2009 Jim Gifford and Ryan Oliver
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
-BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-
diff --git a/bootscripts/Makefile b/bootscripts/Makefile
deleted file mode 100644
index 176d146..0000000
--- a/bootscripts/Makefile
+++ /dev/null
@@ -1,54 +0,0 @@
-VERSION		:= 1.0-pre5
-
-ETCDIR		:= /etc
-EXTDIR		:= ${DESTDIR}${ETCDIR}
-MODE		:= 754
-DIRMODE		:= 755
-CONFMODE	:= 644
-
-all:
-	@grep "^install" Makefile | cut -d ":" -f 1
-	@echo dist
-	@echo "Select an appropriate install target from the above list" ; exit 1
-
-dist:
-	rm -rf "dist/clfs-embedded-bootscripts-$(VERSION)"
-	mkdir -p "dist/clfs-embedded-bootscripts-$(VERSION)"
-	tar --exclude dist -c * | tar -x -C "dist/clfs-embedded-bootscripts-$(VERSION)"
-	(cd dist; tar -cjf "clfs-embedded-bootscripts-$(VERSION).tar.bz2" "clfs-embedded-bootscripts-$(VERSION)")
-	rm -rf "dist/clfs-embedded-bootscripts-$(VERSION)"
-
-create-dirs:
-	install -d -m ${DIRMODE} ${EXTDIR}/rc.d/{init.d,start,stop}
-
-install-bootscripts: create-dirs
-	install -m ${CONFMODE} clfs/rc.d/init.d/functions ${EXTDIR}/rc.d/init.d/
-	install -m ${MODE} clfs/rc.d/startup         ${EXTDIR}/rc.d/
-	install -m ${MODE} clfs/rc.d/shutdown        ${EXTDIR}/rc.d/
-	install -m ${MODE} clfs/rc.d/init.d/network  ${EXTDIR}/rc.d/init.d/
-	install -m ${MODE} clfs/rc.d/init.d/syslog   ${EXTDIR}/rc.d/init.d/
-	install -m ${MODE} clfs/rc.d/init.d/bridge   ${EXTDIR}/rc.d/init.d/
-	ln -sf ../init.d/syslog ${EXTDIR}/rc.d/start/S05syslog
-	ln -sf ../init.d/syslog ${EXTDIR}/rc.d/stop/K99syslog
-	ln -sf ../init.d/network ${EXTDIR}/rc.d/start/S10network
-	ln -sf ../init.d/network ${EXTDIR}/rc.d/stop/K80network
-	ln -sf ../init.d/bridge ${EXTDIR}/rc.d/start/S09bridge
-	ln -sf ../init.d/bridge ${EXTDIR}/rc.d/stop/K81bridge
-
-install-bcm47xx: create-dirs
-	install -m ${MODE} clfs/rc.d/init.d/bcm47xx-switch ${EXTDIR}/rc.d/init.d/
-	ln -sf ../init.d/bcm47xx-switch ${EXTDIR}/rc.d/start/S08bcm47xx-switch
-	ln -sf ../init.d/bcm47xx-switch ${EXTDIR}/rc.d/stop/K82bcm47xx-switch
-
-install-dropbear: create-dirs
-	install -m ${MODE} clfs/rc.d/init.d/sshd   ${EXTDIR}/rc.d/init.d/
-	ln -sf ../init.d/sshd ${EXTDIR}/rc.d/start/S30sshd
-	ln -sf ../init.d/sshd ${EXTDIR}/rc.d/stop/K30sshd
-
-install-hostapd: create-dirs
-	install -m ${MODE} clfs/rc.d/init.d/hostapd ${EXTDIR}/rc.d/init.d
-	ln -sf ../init.d/hostapd ${EXTDIR}/rc.d/start/S08hostapd
-	ln -sf ../init.d/hostapd ${EXTDIR}/rc.d/stop/K82hostapd
-
-.PHONY: dist all create-dirs install install-bcm47xx install-dropbear \
-        install-hostapd
diff --git a/bootscripts/clfs/rc.d/init.d/bcm47xx-switch b/bootscripts/clfs/rc.d/init.d/bcm47xx-switch
deleted file mode 100755
index f4b5874..0000000
--- a/bootscripts/clfs/rc.d/init.d/bcm47xx-switch
+++ /dev/null
@@ -1,74 +0,0 @@
-#!/bin/ash
-#
-# Broadcom 47xx vlan and switch configuration init script
-#
-# Config: uses the 'nvram' settings for setting up vlan devices
-
-. /etc/rc.d/init.d/functions
-
-if [ ! -x /sbin/robocfg ]; then
-	echo -n "Setting up vlan: /sbin/robocfg not found "
-	false
-	check_status
-fi
-
-if [ ! -x /sbin/vconfig ]; then
-	echo -n "Setting up vlan: /sbin/vconfig not found "
-	false
-	check_status
-fi
-
-if [ ! -x /sbin/nvram ]; then
-	echo -n "Setting up vlan: /sbin/nvram not found "
-	false
-	check_status
-fi
-
-case "$1" in
-start)
-
-	# Add a specific workaround for the case of weirdly set wireless mac address
-	# Do what openwrt is doing, and increment the last hex with 2
-	if [ "`nvram get il0macaddr`" = 00:90:4c:5f:00:2a ]; then
-		et0="$(nvram get et0macaddr)"
-		prefix="$(echo $et0 | sed -e 's/:..$//')"
-		addendum=$(( (0x$(echo $et0 | sed -e s/.*://g) + 2) % 256 ))
-		il0=$(printf %s:%02x $prefix $addendum)
-		echo -n "Fixing up wlan0 mac address: "
-		nvram set il0macaddr=$il0 && nvram commit
-		check_status
-		ifconfig wlan0 hw ether $il0 2>/dev/null
-	fi
-
-	# eth0 has to be up for this
-	ifconfig eth0 up
-
-	robocfg switch disable
-	robocfg vlans enable reset
-
-	nvram show | grep vlan[0-4]ports= | sed -e s/vlan// -e s/ports=/\ / |
-	  while read vlan ports; do
-		echo -n "Bringing up eth0.${vlan}: "
-		robocfg vlan ${vlan} ports "${ports}" &&
-		vconfig add eth0 $vlan
-		check_status
-	done
-	robocfg switch enable
-	exit 0
-	;;
-stop)
-	# FIXME: Should we really do something at shutdown?
-	exit 0
-	;;
-restart)
-	$0 stop
-	$0 start
-	;;
-status)
-	robocfg show
-	;;
-*)
-	echo "Usage: $0 {start|stop|restart|status}"
-	exit 1
-esac
-
diff --git a/bootscripts/clfs/rc.d/init.d/bridge b/bootscripts/clfs/rc.d/init.d/bridge
deleted file mode 100755
index 85c7a7a..0000000
--- a/bootscripts/clfs/rc.d/init.d/bridge
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/bin/ash
-#
-# Network interface(s) init script
-#
-# config: /etc/network.conf
-#	 /etc/network.d/interface.[devname]
-
-. /etc/rc.d/init.d/functions
-. /etc/network.conf
-
-if [ "$NETWORKING" != "yes" ] || [ "${BRIDGE_INTERFACES}" = "" ]; then
-	exit 0
-fi
-
-if [ ! -x /usr/sbin/brctl ]; then
-	echo -n "Setting up bridge: /usr/sbin/brctl not found "
-	false
-	check_status
-fi
-
-case "$1" in
-start)
-	echo -n "Adding bridge br0: "
-	brctl addbr br0
-	check_status
-
-	for n in ${BRIDGE_INTERFACES}; do
-		echo -n "Adding ${n} to bridge: "
-		brctl addif br0 ${n}
-		# Bring up the interface unless its wireless
-		# Wireless has to be configured before you can put it up
-		if [ $? = 0 ] && [ ${n} != wlan0 ]; then ifconfig ${n} up; fi
-		check_status
-	done
-	;;
-stop)
-	for n in ${BRIDGE_INTERFACES}; do
-		echo -n "Removing ${n} from bridge br0: "
-		ifconfig ${n} down 2>/dev/null
-		brctl delif br0 ${n}
-		check_status
-	done
-	echo -n "Removing bridge br0: "
-	ifconfig br0 down 2>/dev/null
-	brctl delbr br0
-	check_status
-	;;
-restart)
-	$0 stop
-	$0 start
-	;;
-status)
-	brctl show
-	;;
-*)
-	echo "Usage: $0 {start|stop|restart|status}"
-	exit 1
-esac
-
diff --git a/bootscripts/clfs/rc.d/init.d/functions b/bootscripts/clfs/rc.d/init.d/functions
deleted file mode 100755
index 3c8521d..0000000
--- a/bootscripts/clfs/rc.d/init.d/functions
+++ /dev/null
@@ -1,21 +0,0 @@
-# Common Routines
-#
-
-# Default Path for scripts
-#
-PATH=/bin:/sbin:/usr/bin:/usr/sbin
-
-# Check status and print
-# OK or FAIL
-#
-check_status()
-{
-	local ERR=$?
-	echo -en "\\033[65G"
-	if [ $ERR = 0 ]; then
-		echo -en "\\033[1;32mOK"
-	else
-		echo -en "\\033[1;31mFAIL"
-	fi
-	echo -e "\\033[0;39m"
-}
diff --git a/bootscripts/clfs/rc.d/init.d/hostapd b/bootscripts/clfs/rc.d/init.d/hostapd
deleted file mode 100755
index 70f79b0..0000000
--- a/bootscripts/clfs/rc.d/init.d/hostapd
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/ash
-
-# Hostapd Startup Script
-#
-
-. /etc/rc.d/init.d/functions
-
-PIDFILE=/var/run/hostapd.pid
-
-if [ ! -x /usr/sbin/hostapd ]; then
-	echo -n "Starting hostapd: /usr/sbin/hostapd not found "
-	false
-	check_status
-	exit 0
-fi
-
-if [ ! -f /etc/hostapd.conf ]; then
-	echo -n "Starting hostapd: /etc/hostapd.conf not found "
-	false
-	check_status
-	exit 0
-fi
-
-case "$1" in
-start)
-	echo -n "Starting hostapd: "
-	hostapd -P "$PIDFILE" -B /etc/hostapd.conf
-	check_status
-	;;
-stop)
-	if [ -r "$PIDFILE" ]; then
-		echo -n "Stopping hostapd: "
-		kill `cat "$PIDFILE"`
-		check_status
-	else
-		echo "Service hostapd not running."
-	fi
-	;;
-restart)
-	$0 stop
-	$0 start
-	;;
-status)
-	if [ -r "$PIDFILE" ]; then
-		echo "Service hostapd running (PID $(cat "$PIDFILE"))."
-	else
-		echo "Service hostapd not running."
-	fi
-	;;
-*)
-	echo "Usage: $0 {start|stop|restart|status}"
-	exit 1
-esac
diff --git a/bootscripts/clfs/rc.d/init.d/network b/bootscripts/clfs/rc.d/init.d/network
deleted file mode 100755
index fbb55fc..0000000
--- a/bootscripts/clfs/rc.d/init.d/network
+++ /dev/null
@@ -1,81 +0,0 @@
-#!/bin/ash
-#
-# Network interface(s) init script
-#
-# config: /etc/network.conf
-#	  /etc/network.d/interface.[devname]
-
-. /etc/rc.d/init.d/functions
-. /etc/network.conf
-
-if [ "$NETWORKING" != "yes" ]; then
-	echo "Networking is disabled in /etc/network.conf"
-	exit 0
-fi
-
-case "$1" in
-start)
-	for i in /etc/network.d/interface.*
-	do
-		if [ -r "$i" ]; then
-			. $i
-			if [ "$DHCP" = "yes" ]; then
-				echo -n "Starting DHCP for interface $INTERFACE: "
-				# udhcpc is braindead, bring up interface first
-				ifconfig "$INTERFACE" up
-
-				# Bridging code requires some time to wake up
-				[ "$INTERFACE" = "br0" ] && sleep 5
-
-				udhcpc -b -i "$INTERFACE" -s /etc/udhcpc.conf \
-					-p "/var/run/udhcpc.$INTERFACE.pid" \
-					> /dev/null
-			else
-				echo -n "Setting up interface $INTERFACE: "
-				ifconfig "$INTERFACE" "$IPADDRESS" \
-					netmask "$NETMASK" \
-					broadcast "$BROADCAST" up
-			fi
-			check_status
-	  	fi
-	done
-	
-	if [ "$USE_GATEWAY" = "yes" -a -n "$GATEWAY" ]; then
-		echo -n "Setting default route: "
-		route add default gw $GATEWAY
-		check_status
-	fi
-	;;
-stop)
-	if [ "$USE_GATEWAY" = "yes" -a -n "$GATEWAY" ]; then
-		echo -n "Removing default route: "
-		route del -net 0.0.0.0
-		check_status
-	fi
-
-	for i in /etc/network.d/interface.*
-	do
-		if [ -r "$i" ]; then
-			. $i
-			echo -n "Shutting down interface $INTERFACE: "
-			ifconfig $INTERFACE down
-			check_status
-			if [ "$DHCP" = "yes" ]; then
-				kill `cat "/var/run/udhcpc.$INTERFACE.pid"` 2>/dev/null || true
-				sleep 1
-			fi
-		fi
-	done
-	;;
-restart)
-	$0 stop
-	$0 start
-	;;
-status)
-	ifconfig
-	route
-	;;
-*)
-	echo "Usage: $0 {start|stop|restart|status}"
-	exit 1
-esac
diff --git a/bootscripts/clfs/rc.d/init.d/sshd b/bootscripts/clfs/rc.d/init.d/sshd
deleted file mode 100755
index f11daa1..0000000
--- a/bootscripts/clfs/rc.d/init.d/sshd
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/ash
-#
-# DropBear SSH
-
-. /etc/rc.d/init.d/functions
-
-DSSKEY=/etc/dropbear/dropbear_dss_host_key
-RSAKEY=/etc/dropbear/dropbear_rsa_host_key
-PIDFILE=/var/run/dropbear.pid
-
-case "$1" in
-start)
-	if [ ! -r "$DSSKEY" ]; then
-		echo -n "Generating DSS host key: "
-		dropbearkey -t dss -f "$DSSKEY" >/dev/null 2>&1
-		check_status
-	fi
-	if [ ! -r "$RSAKEY" ]; then
-		echo -n "Generating RSA host key: "
-		dropbearkey -t rsa -f "$RSAKEY" >/dev/null 2>&1
-		check_status
-	fi
-	if [ -r "$PIDFILE" ]; then
-		echo "Service dropbear already running."
-	else
-		echo -n "Starting SSH server: "
-		dropbear
-		check_status
-	fi
-	;;
-stop)
-	if [ -r "$PIDFILE" ]; then
-		echo -n "Stopping dropbear SSH server: "
-		kill `cat "$PIDFILE"`
-		check_status
-	else
-		echo "Service dropbear not running."
-	fi
-	;;
-restart)
-	$0 stop
-	$0 start
-	;;
-status)
-	if [ -r "$PIDFILE" ]; then
-		echo "Service dropbear running (PID $(cat "$PIDFILE"))."
-	else
-		echo "Service dropbear not running."
-	fi
-	;;
-*)
-	echo "Usage: $0 {start|stop|restart|status}"
-	exit 1
-esac
diff --git a/bootscripts/clfs/rc.d/init.d/syslog b/bootscripts/clfs/rc.d/init.d/syslog
deleted file mode 100755
index a7c1d68..0000000
--- a/bootscripts/clfs/rc.d/init.d/syslog
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/ash
-
-# Syslog Startup Script
-#
-
-. /etc/rc.d/init.d/functions
-
-SYSLOG_ROTATE_SIZE=65536
-
-case "$1" in
-start)
-	echo -n "Starting syslogd: "
-	syslogd -m 0 -s $SYSLOG_ROTATE_SIZE -L
-	check_status
-	echo -n "Starting klogd: "
-	klogd
-	check_status
-	;;
-stop)
-	echo -n "Stopping klogd: "
-	killall klogd
-	check_status
-	echo -n "Stopping syslogd: "
-	killall syslogd
-	check_status
-	;;
-restart)
-	$0 stop
-	$0 start
-	;;
-*)
-	echo "Usage: $0 {start|stop|restart}"
-	exit 1
-esac
diff --git a/bootscripts/clfs/rc.d/shutdown b/bootscripts/clfs/rc.d/shutdown
deleted file mode 100755
index 74fa214..0000000
--- a/bootscripts/clfs/rc.d/shutdown
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/ash
-
-# System Shutdown Script
-#
-
-. /etc/rc.d/init.d/functions
-
-echo
-echo "System is going down for reboot or halt now."
-echo
-
-
-echo "Starting stop scripts."
-
-for i in /etc/rc.d/stop/*
-do
-	if [ -x $i ]; then
-		$i stop
-	fi
-done
-
-if [ -x /sbin/hwclock ] && [ -e /dev/rtc ]; then
-	echo -n "Syncing hardware clock to system clock:"
-	hwclock --systohc --utc
-	check_status
-fi
-
-if [ -x /sbin/swapoff ]; then
-	echo -n "Disabling swap space: "
-	swapoff -a
-	check_status
-fi
-
-echo -n "Syncing all filesystems: "
-sync
-check_status
-
-echo -n "Unmounting all filesystems: "
-umount -a -r
-
diff --git a/bootscripts/clfs/rc.d/startup b/bootscripts/clfs/rc.d/startup
deleted file mode 100755
index 1f23cfd..0000000
--- a/bootscripts/clfs/rc.d/startup
+++ /dev/null
@@ -1,90 +0,0 @@
-#!/bin/ash
-
-# System Startup Script
-# 
-. /etc/rc.d/init.d/functions
-
-/bin/mount -t proc none /proc
-/bin/mount -t sysfs none /sys
-/bin/mount -t tmpfs /tmp /tmp
-/bin/mount -t tmpfs -o mode=0755 none /dev
-/bin/mkdir /dev/pts
-/bin/mkdir /dev/shm
-/bin/mount -t tmpfs -o mode=0755 /var /var
-for x in cache lib lib/misc lib/locate local lock log mail opt run spool; do mkdir /var/$x; done
-ln -s ../tmp /var/tmp
-
-/bin/echo "/sbin/mdev" > /proc/sys/kernel/hotplug
-
-echo -n "Starting mdev: "
-/sbin/mdev -s
-check_status
-
-echo -n "Mounting devpts: "
-mount /dev/pts
-check_status
-
-if [ -x /sbin/hwclock ] && [ -e /dev/rtc ]; then
-	echo -n "Setting system clock: "
-	hwclock --hctosys --utc
-	check_status
-fi
-
-if [ -x /sbin/fsck ]; then
-	echo "Starting fsck for local filesystems."
-	fsck -A -C -R -T -t nonfs,nosmbfs
-	if [ "$?" -gt 2 ]; then
-		echo "WARNING: Errors found while checking filesystems."
-		echo "You can login as root now, the system will reboot after logout."
-		sulogin
-		reboot
-	elif [ "$?" = "2" ]; then
-		echo "NOTICE: System needs to be rebooted now."
-		sleep 1
-		reboot
-	else
-		echo -n "Checking local filesystems: "
-		check_status
-	fi
-fi
-
-
-if [ -x /sbin/swapon ]; then
-	echo -n "Enabling swap space: "
-	swapon -a
-	check_status
-fi
-
-echo -n "Remounting root rw: "
-mount -o remount,rw /
-check_status
-
-echo -n "Setting hostname: "
-hostname -F /etc/HOSTNAME
-check_status
-
-echo -n "Cleaning up system: "
-> /var/run/utmp
-touch /var/log/wtmp
-touch /var/log/messages
-chmod 0664 /var/run/utmp
-chmod 0664 /var/log/wtmp
-chmod 0660 /var/log/messages
-rm -rf /tmp/*
-rm -f /var/run/*.pid
-check_status
-
-echo -n "Setting up interface lo: "
-ifconfig lo up 127.0.0.1
-check_status
-
-echo "Running start scripts."
-
-for i in /etc/rc.d/start/*
-do
-	if [ -x $i ]; then
-		$i start
-	fi
-done
-
-exit 0

commit 65b296c36f06d5a26d4200e863ee5e13baae24db
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Sat Jan 29 17:22:30 2011 -0500

    Updated GCC-Final configure switches
    
    Added --with-mpc and corrected the "meaning of" section to only list
    options not previously described in gcc-static section.

diff --git a/BOOK/cross-tools/common/gcc-final.xml b/BOOK/cross-tools/common/gcc-final.xml
index 896ff3a..519a53b 100644
--- a/BOOK/cross-tools/common/gcc-final.xml
+++ b/BOOK/cross-tools/common/gcc-final.xml
@@ -39,15 +39,16 @@
   --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \
   --with-sysroot=${CLFS} --disable-nls --enable-shared \
   --enable-languages=c --enable-c99 --enable-long-long \
-  --with-mpfr=${CLFS}/cross-tools --with-gmp=${CLFS}/cross-tools</userinput></screen>
+  --with-mpfr=${CLFS}/cross-tools --with-gmp=${CLFS}/cross-tools \
+  --with-mpc=${CLFS}/cross-tools</userinput></screen>
 
     <variablelist os="af">
-      <title>The meaning of the new configure options:</title>
+      <title>The meaning of the configure options not used previously:</title>
 
       <varlistentry os="af1">
-        <term><parameter>--enable-languages=c</parameter></term>
+        <term><parameter>--enable-shared</parameter></term>
         <listitem>
-          <para>This option ensures that only the C compiler is built.</para>
+          <para>Enables the creation of the shared libraries.</para>
         </listitem>
       </varlistentry>
 

commit 912d9750b314db6a0accbce29f1af0dcf65fffdf
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Sat Jan 29 16:53:33 2011 -0500

    Reordered patches to keep in alphabetic order

diff --git a/BOOK/patches.ent b/BOOK/patches.ent
index c2ea12f..5a1979b 100644
--- a/BOOK/patches.ent
+++ b/BOOK/patches.ent
@@ -12,14 +12,14 @@
 <!ENTITY busybox-fixes-patch-md5 "64bee07ba3efbb512fb4f348e814bf31">
 <!ENTITY busybox-fixes-patch-size "4 KB">
 
-<!ENTITY uclibc-configs-patch "uClibc-&uclibc-version;-configs-2.patch">
-<!ENTITY uclibc-configs-patch-md5 "4770c8abc23e10aae6cfbfca41624d4d">
-<!ENTITY uclibc-configs-patch-size "52 KB">
-
 <!ENTITY iana-etc-update-patch "iana-etc-&iana-etc-version;-update.patch">
 <!ENTITY iana-etc-update-patch-md5 "ab594a1ec88d2e05f7379d4e4e2cdbdf">
 <!ENTITY iana-etc-update-patch-size "864 KB">
 
+<!ENTITY uclibc-configs-patch "uClibc-&uclibc-version;-configs-2.patch">
+<!ENTITY uclibc-configs-patch-md5 "4770c8abc23e10aae6cfbfca41624d4d">
+<!ENTITY uclibc-configs-patch-size "52 KB">
+
 <!-- Beyond patches -->
 
 <!ENTITY iptables-fixes-patch "iptables-&iptables-version;-fixes-1.patch">

commit c5ecc1b8b74d81c757f76fbc3dceef6c913b12fe
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Sat Jan 29 16:50:07 2011 -0500

    Implemented patch for Iana-Etc
    
    Updated book to include the patch for iana-etc and give users the option
    of running 'make get' to get even more up to date iana-etc data.

diff --git a/BOOK/final-system/common/iana-etc.xml b/BOOK/final-system/common/iana-etc.xml
index a54e452..62a5399 100644
--- a/BOOK/final-system/common/iana-etc.xml
+++ b/BOOK/final-system/common/iana-etc.xml
@@ -25,17 +25,30 @@
   <sect2 role="installation">
     <title>Installation of Iana-Etc</title>
 
-    <para os="a">The following command converts the raw data provided by IANA into
+    <para os="a">Iana-Etc comes with outdated data and IANA has changed the
+    download location used to obtain up-to-date data.  Apply the following patch
+    to use more up to date data and to correct the download location:</para>
+
+<screen os="b"><userinput>patch -Np1 -i ../&iana-etc-update-patch;</userinput></screen>
+
+    <note os="c">
+      <para>If you have an internet connection and would like even more up-to-date
+      data to be used when building Iana-Etc, execute: 
+<screen><userinput>make get</userinput></screen>
+      </para>
+    </note>
+
+    <para os="d">The following command converts the raw data provided by IANA into
     the correct formats for the <filename>/etc/protocols</filename> and
     <filename>/etc/services</filename> data files:</para>
 
-<screen os="b"><userinput>make</userinput></screen>
+<screen os="e"><userinput>make</userinput></screen>
 
-    <para os="c">This package does not come with a test suite.</para>
+    <para os="f">This package does not come with a test suite.</para>
 
-    <para os="d">Install the package:</para>
+    <para os="g">Install the package:</para>
 
-<screen os="e"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
+<screen os="h"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
 
   </sect2>
 
diff --git a/BOOK/materials/common/patches.xml b/BOOK/materials/common/patches.xml
index e4bf922..ba533e5 100644
--- a/BOOK/materials/common/patches.xml
+++ b/BOOK/materials/common/patches.xml
@@ -37,6 +37,15 @@
     </varlistentry>
 
     <varlistentry>
+      <term>Iana-Etc Update Patch - <token>&iana-etc-update-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink
+        url="&patches-root;&iana-etc-update-patch;"/></para>
+        <para>MD5 sum: <literal>&iana-etc-update-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
       <term>uClibc Configs Patch - <token>&uclibc-configs-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink
diff --git a/BOOK/patches.ent b/BOOK/patches.ent
index cde34c0..c2ea12f 100644
--- a/BOOK/patches.ent
+++ b/BOOK/patches.ent
@@ -16,6 +16,10 @@
 <!ENTITY uclibc-configs-patch-md5 "4770c8abc23e10aae6cfbfca41624d4d">
 <!ENTITY uclibc-configs-patch-size "52 KB">
 
+<!ENTITY iana-etc-update-patch "iana-etc-&iana-etc-version;-update.patch">
+<!ENTITY iana-etc-update-patch-md5 "ab594a1ec88d2e05f7379d4e4e2cdbdf">
+<!ENTITY iana-etc-update-patch-size "864 KB">
+
 <!-- Beyond patches -->
 
 <!ENTITY iptables-fixes-patch "iptables-&iptables-version;-fixes-1.patch">

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

Summary of changes:
 .gitignore                                         |    2 +
 BOOK/beyond-clfs/common/dropbear.xml               |    2 +-
 BOOK/beyond-clfs/common/iptables.xml               |    2 +-
 BOOK/beyond-clfs/common/libnl.xml                  |    2 +-
 BOOK/bootscripts/common/network.xml                |    3 +-
 BOOK/cross-tools/arm/abi.xml                       |   31 +++++--
 BOOK/cross-tools/arm/variables.xml                 |   53 +++++++++---
 BOOK/cross-tools/common/abi.xml                    |   24 +++++
 BOOK/cross-tools/common/gcc-final.xml              |    9 +-
 BOOK/cross-tools/common/gcc-static.xml             |   10 ++-
 BOOK/cross-tools/common/gmp.xml                    |   12 ++-
 BOOK/cross-tools/common/variables.xml              |   32 +++++++
 BOOK/cross-tools/mips/abi.xml                      |   14 ++--
 BOOK/cross-tools/mips/variables.xml                |   15 ++--
 BOOK/cross-tools/x86-chapter.xml                   |    5 +-
 BOOK/cross-tools/x86/abi.xml                       |   54 ------------
 BOOK/cross-tools/{common => x86}/gcc-final.xml     |   19 ++--
 BOOK/cross-tools/{common => x86}/gcc-static.xml    |   41 +++++++--
 BOOK/cross-tools/x86/variables.xml                 |   30 +++++--
 BOOK/final-system/common/e2fsprogs.xml             |    2 +-
 BOOK/final-system/common/iana-etc.xml              |   23 ++++-
 BOOK/final-system/common/zlib.xml                  |    2 +-
 BOOK/general.ent                                   |    6 +-
 BOOK/introduction/arm/changelog.xml                |   19 ++++
 BOOK/introduction/common/changelog.xml             |   35 ++++++++
 BOOK/introduction/common/resources.xml             |   15 ++--
 BOOK/introduction/wrt/supporteddevices.xml         |   17 +++-
 BOOK/introduction/x86/changelog.xml                |   10 ++
 BOOK/materials/common/patches.xml                  |    9 ++
 BOOK/patches.ent                                   |    4 +
 bootscripts/LICENSE                                |   22 -----
 bootscripts/Makefile                               |   54 ------------
 bootscripts/clfs/rc.d/init.d/bcm47xx-switch        |   74 ----------------
 bootscripts/clfs/rc.d/init.d/bridge                |   59 -------------
 bootscripts/clfs/rc.d/init.d/functions             |   21 -----
 bootscripts/clfs/rc.d/init.d/hostapd               |   53 ------------
 bootscripts/clfs/rc.d/init.d/network               |   81 ------------------
 bootscripts/clfs/rc.d/init.d/sshd                  |   54 ------------
 bootscripts/clfs/rc.d/init.d/syslog                |   34 --------
 bootscripts/clfs/rc.d/shutdown                     |   40 ---------
 bootscripts/clfs/rc.d/startup                      |   90 --------------------
 ...0-update.patch => iana-etc-2.30-update-1.patch} |    0
 42 files changed, 349 insertions(+), 735 deletions(-)
 create mode 100644 BOOK/cross-tools/common/abi.xml
 create mode 100644 BOOK/cross-tools/common/variables.xml
 delete mode 100644 BOOK/cross-tools/x86/abi.xml
 copy BOOK/cross-tools/{common => x86}/gcc-final.xml (91%)
 copy BOOK/cross-tools/{common => x86}/gcc-static.xml (85%)
 delete mode 100644 bootscripts/LICENSE
 delete mode 100644 bootscripts/Makefile
 delete mode 100755 bootscripts/clfs/rc.d/init.d/bcm47xx-switch
 delete mode 100755 bootscripts/clfs/rc.d/init.d/bridge
 delete mode 100755 bootscripts/clfs/rc.d/init.d/functions
 delete mode 100755 bootscripts/clfs/rc.d/init.d/hostapd
 delete mode 100755 bootscripts/clfs/rc.d/init.d/network
 delete mode 100755 bootscripts/clfs/rc.d/init.d/sshd
 delete mode 100755 bootscripts/clfs/rc.d/init.d/syslog
 delete mode 100755 bootscripts/clfs/rc.d/shutdown
 delete mode 100755 bootscripts/clfs/rc.d/startup
 rename patches/{iana-etc-2.30-update.patch => iana-etc-2.30-update-1.patch} (100%)


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



More information about the Clfs-commits mailing list