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

git git at cross-lfs.org
Sat Jan 29 10:02:08 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  e0c6774faa946f4c17c323cb117b48a4c5c86d9e (commit)
       via  1e8cfeff9bfad3659a33db159dd3cb65b1c8b11f (commit)
       via  b5e8c5c913e775b89dc229726b475915d0c8fd41 (commit)
       via  2c5aad403159e413ae96cdd4b461eb50436b6d41 (commit)
       via  406ca8f938e5f29e15087662774c0948c21c747c (commit)
       via  f6137b64c462c2347e846a2eead3bdfc1cfbe4f3 (commit)
       via  f704d3f8b40b09efdfe7292a333de9a9d7b3a695 (commit)
       via  e63fb0433046d0b905ac51042706135737549499 (commit)
       via  10d90f3055c0a63aa65ab981def7e5589f69f4d0 (commit)
       via  b8d29786646a458e98cee1f760f398795113e45e (commit)
       via  964fe7d8f21e05690e1ffa761cae26f200a00109 (commit)
       via  23b90d898cc73036eb95c5dc088245e01e9a9e57 (commit)
       via  70b934146da085a59d1dc4b2135595e3b99378ef (commit)
      from  62de58d691ee1af0d6c5acbbc729cd388200dfd4 (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 e0c6774faa946f4c17c323cb117b48a4c5c86d9e
Merge: 1e8cfef b5e8c5c
Author: Joe Ciccone <jciccone at gmail.com>
Date:   Sat Jan 29 13:00:24 2011 -0500

    Merge branch 'master', remote branch 'abradford/master'


commit 1e8cfeff9bfad3659a33db159dd3cb65b1c8b11f
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Sat Jan 29 11:51:40 2011 -0500

    Embedded book doesn't install same packages twice
    
    The embedded book never installs the same package twice so some
    of the wording in section 6.1 Introduction is not needed and
    could be confusing.

diff --git a/BOOK/cross-tools/common/introduction.xml b/BOOK/cross-tools/common/introduction.xml
index 97ee22a..ad3a8d0 100644
--- a/BOOK/cross-tools/common/introduction.xml
+++ b/BOOK/cross-tools/common/introduction.xml
@@ -28,10 +28,8 @@
     </important>
 
     <para>Several of the packages are patched before compilation, but only
-    when the patch is needed to circumvent a problem. A patch is often needed
-    in both this and the next chapters, but sometimes in only one or the other.
-    Therefore, do not be concerned if instructions for a downloaded patch seem
-    to be missing. Warning messages about <emphasis>offset</emphasis> or
+    when the patch is needed to circumvent a problem or supply a default 
+    configuration. Warning messages about <emphasis>offset</emphasis> or
     <emphasis>fuzz</emphasis> may also be encountered when applying a patch.
     Do not worry about these warnings, as the patch was still successfully
     applied.</para>
@@ -46,8 +44,7 @@
     <important>
       <para>After installing each package, both in this and the next chapters,
       delete its source and build directories, unless specifically instructed
-      otherwise. Deleting the sources prevents mis-configuration
-      when the same package is reinstalled later.</para>
+      otherwise.</para>
     </important>
 
   </sect2>

commit b5e8c5c913e775b89dc229726b475915d0c8fd41
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Sat Jan 29 11:55:50 2011 -0500

    Update date.

diff --git a/BOOK/general.ent b/BOOK/general.ent
index 5be4369..c8f7df7 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 "23"> <!-- Use two digits -->
+<!ENTITY day "29"> <!-- Use two digits -->
 <!ENTITY year "2011"> <!-- Use four digits -->
 
 <!ENTITY releasedate "&month_name; &day;, &year;">

commit 2c5aad403159e413ae96cdd4b461eb50436b6d41
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Sat Jan 29 11:51:40 2011 -0500

    Embedded book doesn't install same packages twice
    
    The embedded book never installs the same package twice so some
    of the wording in section 6.1 Introduction is not needed and
    could be confusing.

diff --git a/BOOK/cross-tools/common/introduction.xml b/BOOK/cross-tools/common/introduction.xml
index 97ee22a..ad3a8d0 100644
--- a/BOOK/cross-tools/common/introduction.xml
+++ b/BOOK/cross-tools/common/introduction.xml
@@ -28,10 +28,8 @@
     </important>
 
     <para>Several of the packages are patched before compilation, but only
-    when the patch is needed to circumvent a problem. A patch is often needed
-    in both this and the next chapters, but sometimes in only one or the other.
-    Therefore, do not be concerned if instructions for a downloaded patch seem
-    to be missing. Warning messages about <emphasis>offset</emphasis> or
+    when the patch is needed to circumvent a problem or supply a default 
+    configuration. Warning messages about <emphasis>offset</emphasis> or
     <emphasis>fuzz</emphasis> may also be encountered when applying a patch.
     Do not worry about these warnings, as the patch was still successfully
     applied.</para>
@@ -46,8 +44,7 @@
     <important>
       <para>After installing each package, both in this and the next chapters,
       delete its source and build directories, unless specifically instructed
-      otherwise. Deleting the sources prevents mis-configuration
-      when the same package is reinstalled later.</para>
+      otherwise.</para>
     </important>
 
   </sect2>

commit 406ca8f938e5f29e15087662774c0948c21c747c
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Sat Jan 29 11:39:37 2011 -0500

    Updated Iana-Etc to pull new data from IANA
    
    Thanks to Grail Dane (grail69 at hotmail dot com) for pointing out
    that Iana-Etc has a built in updating mechanism for getting the newest
    copies of /etc/protocols and /etc/services direct from IANA rather
    than use the ones found in the tarball.
    
    See mailing list thread:
    http://lists.cross-lfs.org/pipermail/clfs-dev-cross-lfs.org/2011-January/000866.html

diff --git a/BOOK/final-system/common/iana-etc.xml b/BOOK/final-system/common/iana-etc.xml
index a54e452..181ae44 100644
--- a/BOOK/final-system/common/iana-etc.xml
+++ b/BOOK/final-system/common/iana-etc.xml
@@ -25,17 +25,26 @@
   <sect2 role="installation">
     <title>Installation of Iana-Etc</title>
 
-    <para os="a">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>
+    <para os="a">The <filename>protocol-numbers.dist</filename> and
+    <filename>port-numbers.dist</filename> files that come with Iana-Etc 
+    are outdated.  Also, IANA has moved their copy of protocol-numbers.
+    In order to ensure we use correct and up to date data, first modify the 
+    Makefile and then download the updates:</para>
 
-<screen os="b"><userinput>make</userinput></screen>
+<screen os="b"><userinput>sed -i '/file=/s at protocol-numbers@&/&.txt@' Makefile
+make get</userinput></screen>
 
-    <para os="c">This package does not come with a test suite.</para>
+    <para os="c">The following command then 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>
 
-    <para os="d">Install the package:</para>
+<screen os="d"><userinput>make</userinput></screen>
 
-<screen os="e"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
+    <para os="e">This package does not come with a test suite.</para>
+
+    <para os="f">Install the package:</para>
+
+<screen os="g"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
 
   </sect2>
 
@@ -83,3 +92,4 @@
   </sect2>
 
 </sect1>
+

commit f6137b64c462c2347e846a2eead3bdfc1cfbe4f3
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Sat Jan 29 10:32:43 2011 -0500

    Added --with-mpc to GCC's configure switches
    
    With GCC 4.5, MPC is required in order to build.
    Added the switch to ensure configure finds the right version of MPC
    and not one located on the host.

diff --git a/BOOK/cross-tools/common/gcc-static.xml b/BOOK/cross-tools/common/gcc-static.xml
index 2b2a341..9071263 100644
--- a/BOOK/cross-tools/common/gcc-static.xml
+++ b/BOOK/cross-tools/common/gcc-static.xml
@@ -40,9 +40,9 @@ cd ../gcc-build</userinput></screen>
   --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 \
-  --without-headers --with-newlib --disable-decimal-float \
-  --disable-libgomp --disable-libmudflap --disable-libssp \
-  --disable-threads --enable-languages=c</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</userinput></screen>
 
     <variablelist os="af">
       <title>The meaning of the configure options:</title>
@@ -128,6 +128,16 @@ cd ../gcc-build</userinput></screen>
         </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>

commit f704d3f8b40b09efdfe7292a333de9a9d7b3a695
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Sat Jan 29 10:29:03 2011 -0500

    Added info to each of GCC's configure switches

diff --git a/BOOK/cross-tools/common/gcc-static.xml b/BOOK/cross-tools/common/gcc-static.xml
index 8d56d34..2b2a341 100644
--- a/BOOK/cross-tools/common/gcc-static.xml
+++ b/BOOK/cross-tools/common/gcc-static.xml
@@ -47,24 +47,148 @@ cd ../gcc-build</userinput></screen>
     <variablelist os="af">
       <title>The meaning of the configure options:</title>
 
-      <varlistentry>
+      <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>
+      <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="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 Glibc headers are created.</para>
+          the glib headers are created.</para>
         </listitem>
       </varlistentry>
 
-      <varlistentry>
+      <varlistentry os="af18">
         <term><parameter>--enable-languages=c</parameter></term>
         <listitem>
           <para>This option ensures that only the C compiler is built.</para>

commit e63fb0433046d0b905ac51042706135737549499
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Fri Jan 28 07:59:10 2011 -0500

    Upgrade GCC to version 4.5.2

diff --git a/BOOK/packages.ent b/BOOK/packages.ent
index de6fdb1..12f4784 100644
--- a/BOOK/packages.ent
+++ b/BOOK/packages.ent
@@ -28,10 +28,10 @@
 <!ENTITY e2fsprogs-md5 "05f70470aea2ef7efbb0845b2b116720">
 <!ENTITY e2fsprogs-home "http://e2fsprogs.sourceforge.net">
 
-<!ENTITY gcc-version "4.5.1">
-<!ENTITY gcc-size "64,576 KB">
+<!ENTITY gcc-version "4.5.2">
+<!ENTITY gcc-size "64,775 KB">
 <!ENTITY gcc-url "ftp://gcc.gnu.org/pub/gcc/releases/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2">
-<!ENTITY gcc-md5 "48231a8e33ed6e058a341c53b819de1a">
+<!ENTITY gcc-md5 "d6559145853fbaaa0fd7556ed93bce9a">
 <!ENTITY gcc-home "http://gcc.gnu.org">
 
 <!ENTITY gmp-version "5.0.1">

commit 10d90f3055c0a63aa65ab981def7e5589f69f4d0
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Thu Jan 27 07:39:29 2011 -0500

    Update Binutils to version 2.21
    
    Updated Binutils to version 2.21 and added elfedit and objcopy
    as installed programs as they weren't listed but do get installed.

diff --git a/BOOK/cross-tools/common/binutils.xml b/BOOK/cross-tools/common/binutils.xml
index e602f8e..f1a931b 100644
--- a/BOOK/cross-tools/common/binutils.xml
+++ b/BOOK/cross-tools/common/binutils.xml
@@ -135,8 +135,8 @@ make</userinput></screen>
       <segtitle>Installed libraries</segtitle>
 
       <seglistitem>
-        <seg>addr2line, ar, as, c++filt, gprof, ld, nm, objcopy, objdump,
-        ranlib, readelf, size, strings, and strip</seg>
+        <seg>addr2line, ar, as, c++filt, elfedit, gprof, ld, nm, objcopy, 
+        objdump, ranlib, readelf, size, strings, and strip</seg>
         <seg>libiberty.a, libbfd.[a,so], and libopcodes.[a,so]</seg>
       </seglistitem>
     </segmentedlist>
@@ -191,6 +191,16 @@ make</userinput></screen>
         </listitem>
       </varlistentry>
 
+      <varlistentry id="elfedit">
+        <term><command>elfedit</command></term>
+        <listitem>
+          <para>Examine and modify ELF metadata within an ELF object</para>
+          <indexterm zone="ch-cross-tools-binutils elfedit">
+            <primary sortas="b-elfedit">elfedit</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
       <varlistentry id="gprof">
         <term><command>gprof</command></term>
         <listitem>
@@ -223,6 +233,16 @@ make</userinput></screen>
         </listitem>
       </varlistentry>
 
+      <varlistentry id="objcopy">
+        <term><command>objcopy</command></term>
+        <listitem>
+          <para>Copy the contents of one object file to another</para>
+          <indexterm zone="ch-cross-tools-binutils objcopy">
+            <primary sortas="b-objcopy">objcopy</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
       <varlistentry id="objdump">
         <term><command>objdump</command></term>
         <listitem>
diff --git a/BOOK/packages.ent b/BOOK/packages.ent
index 0856ae3..de6fdb1 100644
--- a/BOOK/packages.ent
+++ b/BOOK/packages.ent
@@ -4,11 +4,11 @@
 
 <!-- Note: For empty *-home entities use " " not "" -->
 
-<!ENTITY binutils-version "2.20.1">
-<!ENTITY binutils-size "17,092 KB">
+<!ENTITY binutils-version "2.21">
+<!ENTITY binutils-size "18,304 KB">
 <!ENTITY binutils-url "&gnu;binutils/binutils-&binutils-version;.tar.bz2">
-<!ENTITY binutils-md5 "9cdfb9d6ec0578c166d3beae5e15c4e5">
-<!ENTITY binutils-home "http://sources.redhat.com/binutils">
+<!ENTITY binutils-md5 "c84c5acc9d266f1a7044b51c85a823f5">
+<!ENTITY binutils-home "http://sourceware.org/binutils/">
 
 <!ENTITY busybox-version "1.17.3">
 <!ENTITY busybox-size "2,048 KB">

commit b8d29786646a458e98cee1f760f398795113e45e
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Tue Jan 25 07:31:55 2011 -0500

    MPFR download link had wrong path
    
    MPFR download link had the correct filename but the wrong dldir.
    Caused the link to say version 3.0.0 but actual file downloaded was
    2.4.1.

diff --git a/BOOK/packages.ent b/BOOK/packages.ent
index 3f78fa7..0856ae3 100644
--- a/BOOK/packages.ent
+++ b/BOOK/packages.ent
@@ -62,7 +62,7 @@
 
 <!ENTITY mpfr-version "3.0.0">
 <!ENTITY mpfr-size "1,112 KB">
-<!ENTITY mpfr-dlid "18439">
+<!ENTITY mpfr-dlid "27105">
 <!ENTITY mpfr-url "http://gforge.inria.fr/frs/download.php/&mpfr-dlid;/mpfr-&mpfr-version;.tar.bz2">
 <!ENTITY mpfr-md5 "f45bac3584922c8004a10060ab1a8f9f">
 <!ENTITY mpfr-home "http://www.mpfr.org/">

commit 964fe7d8f21e05690e1ffa761cae26f200a00109
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Tue Jan 25 07:13:54 2011 -0500

    Added linux-headers scsi and xen dirs
    
    Section 6.5 lists the contents of Linux-Headers and should include both
    the scsi and xen dirs within /usr/include as they get installed
    using current instructions.

diff --git a/BOOK/cross-tools/common/linux-headers.xml b/BOOK/cross-tools/common/linux-headers.xml
index c3a3c51..54da915 100644
--- a/BOOK/cross-tools/common/linux-headers.xml
+++ b/BOOK/cross-tools/common/linux-headers.xml
@@ -43,7 +43,7 @@ cp -rv dest/include/* ${CLFS}/usr/include</userinput></screen>
       <segtitle>Installed headers</segtitle>
 
       <seglistitem>
-        <seg>/usr/include/{asm,asm-generic,drm,linux,mtd,rdma,sound,video}/*.h</seg>
+        <seg>/usr/include/{asm,asm-generic,drm,linux,mtd,rdma,scsi,sound,video,xen}/*.h</seg>
       </seglistitem>
     </segmentedlist>
 
@@ -54,7 +54,7 @@ cp -rv dest/include/* ${CLFS}/usr/include</userinput></screen>
 
       <varlistentry id="linux-headers">
         <term><filename
-        class="headerfile">/usr/include/{asm,asm-generic,drm,linux,mtd,rdma,sound,video}/*.h</filename></term>
+        class="headerfile">/usr/include/{asm,asm-generic,drm,linux,mtd,rdma,scsi,sound,video,xen}/*.h</filename></term>
         <listitem>
           <para>The Linux API headers</para>
           <indexterm zone="ch-cross-tools-linux-headers linux-headers">

commit 23b90d898cc73036eb95c5dc088245e01e9a9e57
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Mon Jan 24 20:08:04 2011 -0500

    Added notes to ARM ABI Variable table
    
    The listing of ARM ABI variables can be intimidating because there's
    5 choices and no information on which should be chosen.
    I attempted to make short notes to help inform people about which
    ABI would be a good choice.
    Good info about ARM ABIs found at:
    http://wiki.debian.org/ArmEabiPort

diff --git a/BOOK/cross-tools/arm/abi.xml b/BOOK/cross-tools/arm/abi.xml
index 698a54c..9c042b9 100644
--- a/BOOK/cross-tools/arm/abi.xml
+++ b/BOOK/cross-tools/arm/abi.xml
@@ -30,11 +30,13 @@
 
       <colspec colnum="1" colwidth="1.5in" colname="ABI to Select"/>
       <colspec colnum="2" colwidth="1.5in" colname="Variable Value"/>
+      <colspec colnum="3" colwidth="2in" colname="Note"/>
 
       <thead>
         <row>
           <entry>ABI</entry>
           <entry>BUILD=Value</entry>
+          <entry>Note</entry>
         </row>
       </thead>
 
@@ -42,22 +44,27 @@
         <row>
           <entry>apcs-gnu</entry>
           <entry>-mabi=apcs-gnu</entry>
+          <entry>Legacy ABI, arm4 and older</entry>
         </row>
         <row>
           <entry>atpcs</entry>
           <entry>-mabi=atpcs</entry>
+          <entry>Thumb ABI</entry>
         </row>
         <row>
           <entry>aapcs</entry>
           <entry>-mabi=aapcs</entry>
+          <entry>EABI w/ variable size enums</entry>
         </row>
         <row>
           <entry>aapcs-linux</entry>
           <entry>-mabi=aapcs-linux</entry>
+          <entry>EABI w/ standard Linux 32 bit (int) enums</entry>
         </row>
         <row>
           <entry>iwmmxt</entry>
           <entry>-mabi=iwmmxt</entry>
+          <entry>Supports Intel XScale MMX extensions</entry>
         </row>
       </tbody>
 

commit 70b934146da085a59d1dc4b2135595e3b99378ef
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Mon Jan 24 19:25:00 2011 -0500

    Move BUILD storage into .bashrc from 7.3 to 6.3
    
    BUILD gets defined in section 6.3 but doesn't get stored into clfs
    user's .bashrc until section 7.3.  If the clfs user logs out between
    these two, the BUILD variable won't be kept.
    This fixes that.  Now BUILD gets stored in .bashrc right after it
    gets defined the first time.

diff --git a/BOOK/cross-tools/x86/abi.xml b/BOOK/cross-tools/x86/abi.xml
index 9171401..c8aa438 100644
--- a/BOOK/cross-tools/x86/abi.xml
+++ b/BOOK/cross-tools/x86/abi.xml
@@ -12,11 +12,12 @@
 
   <para os="a" >Setup for a Particular ABI:</para>
 
-<screen os="b"><userinput>export BUILD="<replaceable>[From Chart]</replaceable>"</userinput></screen>
+<screen os="b"><userinput>export BUILD="<replaceable>[From Chart]</replaceable>"
+echo export BUILD=\""${BUILD}\"" >> ~/.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>
+  <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>
diff --git a/BOOK/final-system/common/toolchain.xml b/BOOK/final-system/common/toolchain.xml
index 10824b5..bd98da4 100644
--- a/BOOK/final-system/common/toolchain.xml
+++ b/BOOK/final-system/common/toolchain.xml
@@ -21,7 +21,6 @@ echo <literal>export LD=\""${CLFS_TARGET}-ld\""</literal> >> ~/.bashrc
 echo <literal>export RANLIB=\""${CLFS_TARGET}-ranlib\""</literal> >> ~/.bashrc
 echo <literal>export READELF=\""${CLFS_TARGET}-readelf\""</literal> >> ~/.bashrc
 echo <literal>export STRIP=\""${CLFS_TARGET}-strip\""</literal> >> ~/.bashrc
-echo <literal>export BUILD=\""${BUILD}\""</literal> >> ~/.bashrc
 source ~/.bashrc</userinput></screen>
 
 </sect1>

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

Summary of changes:
 BOOK/cross-tools/common/introduction.xml |    9 +++------
 BOOK/final-system/common/iana-etc.xml    |   24 +++++++++++++++++-------
 2 files changed, 20 insertions(+), 13 deletions(-)


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



More information about the Clfs-commits mailing list