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

git git at cross-lfs.org
Sat Jan 29 09:39:13 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  62de58d691ee1af0d6c5acbbc729cd388200dfd4 (commit)
       via  9ee184389a89c99200ca68131fd223bab2aa9e4c (commit)
       via  5058de73e1d34f3ecd600e777929a00a019e5a5c (commit)
       via  4bea81ec48e70f658c319b6881d11b876e375b0e (commit)
       via  3c24b7307edae63148272f7d20316979c2a7b9b3 (commit)
       via  146f85dbd764db9ed34e4b853356c04d3fcc1698 (commit)
       via  de0af72ef0777ac66ee74df3d8b7ce959564f1fb (commit)
       via  1b5a1d8c704624b52af9f168eb1a7387449ae1ec (commit)
       via  ab3543d4db90f57f1e33ad875e0cd17c6453c310 (commit)
      from  dc5342b45796b68012bd0d551e1b2ab81f07539f (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 62de58d691ee1af0d6c5acbbc729cd388200dfd4
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 9ee184389a89c99200ca68131fd223bab2aa9e4c
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 5058de73e1d34f3ecd600e777929a00a019e5a5c
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 4bea81ec48e70f658c319b6881d11b876e375b0e
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 3c24b7307edae63148272f7d20316979c2a7b9b3
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 146f85dbd764db9ed34e4b853356c04d3fcc1698
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 de0af72ef0777ac66ee74df3d8b7ce959564f1fb
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 1b5a1d8c704624b52af9f168eb1a7387449ae1ec
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 ab3543d4db90f57f1e33ad875e0cd17c6453c310
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/arm/abi.xml              |    7 ++
 BOOK/cross-tools/common/binutils.xml      |   24 +++++-
 BOOK/cross-tools/common/gcc-static.xml    |  148 +++++++++++++++++++++++++++--
 BOOK/cross-tools/common/linux-headers.xml |    4 +-
 BOOK/cross-tools/x86/abi.xml              |    9 +-
 BOOK/final-system/common/toolchain.xml    |    1 -
 BOOK/general.ent                          |    2 +-
 BOOK/packages.ent                         |   16 ++--
 8 files changed, 186 insertions(+), 25 deletions(-)


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



More information about the Clfs-commits mailing list