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

git git at cross-lfs.org
Fri Feb 11 05:09:54 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  7003296d9569765905adc885f5ed9f91f778ec30 (commit)
       via  1fd00ea526405bcdaf184f214949ab8c7ee5eea5 (commit)
       via  819598b07aaf934f3b5ea1c71414330f1ea21700 (commit)
       via  f9614ce16e559c5106380c1d01ad6b897db3ea21 (commit)
      from  e67fb9b6477f34b453feb3796b0204ebf8d7c664 (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 7003296d9569765905adc885f5ed9f91f778ec30
Merge: e67fb9b 1fd00ea
Author: Joe Ciccone <jciccone at gmail.com>
Date:   Fri Feb 11 08:10:30 2011 -0500

    Merge remote branch 'remotes/abradford/master'


commit 1fd00ea526405bcdaf184f214949ab8c7ee5eea5
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Fri Feb 11 06:38:45 2011 -0500

    Using --disable-multilib when building GCC for x86
    
    Should produce a GCC that only compiles for i*86 XOR x86_64 targets.
    See mailing list thread:
    http://lists.cross-lfs.org/pipermail/clfs-dev-cross-lfs.org/2011-February/000895.html

diff --git a/BOOK/cross-tools/x86/gcc-final.xml b/BOOK/cross-tools/x86/gcc-final.xml
index fe6118a..14fdd9d 100644
--- a/BOOK/cross-tools/x86/gcc-final.xml
+++ b/BOOK/cross-tools/x86/gcc-final.xml
@@ -40,7 +40,8 @@
   --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>
+  --with-mpc=${CLFS}/cross-tools --with-arch=${CLFS_CPU} \
+  --disable-multilib</userinput></screen>
 
     <variablelist os="af">
       <title>The meaning of the configure options not used previously:</title>
diff --git a/BOOK/cross-tools/x86/gcc-static.xml b/BOOK/cross-tools/x86/gcc-static.xml
index 5e590bc..7c48c6c 100644
--- a/BOOK/cross-tools/x86/gcc-static.xml
+++ b/BOOK/cross-tools/x86/gcc-static.xml
@@ -47,7 +47,7 @@
   --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>
+  --with-arch=${CLFS_CPU} --disable-multilib</userinput></screen>
 
     <variablelist os="af">
       <title>The meaning of the configure options:</title>
@@ -218,6 +218,14 @@
         </listitem>
       </varlistentry>
 
+      <varlistentry os="af20">
+        <term><parameter>--disable-multilib</parameter></term>
+        <listitem>
+          <para>This option specifies that multiple target libraries should
+          not be built.</para>
+        </listitem>
+      </varlistentry>
+
     </variablelist>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"

commit 819598b07aaf934f3b5ea1c71414330f1ea21700
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Fri Feb 11 06:10:35 2011 -0500

    Removed all CC="${CC}"
    
    Left all the CC="${CC} -Os" even though there's inconsistencies on
    choosing an optimization level for each package.

diff --git a/BOOK/beyond-clfs/common/hostapd.xml b/BOOK/beyond-clfs/common/hostapd.xml
index b312751..09c6a1a 100644
--- a/BOOK/beyond-clfs/common/hostapd.xml
+++ b/BOOK/beyond-clfs/common/hostapd.xml
@@ -52,7 +52,7 @@ EOF</literal></userinput></screen>
 
     <para os="c">Compile the package:</para>
 
-<screen os="d"><userinput>make CC=${CC} CFLAGS="-g -Os -Wall"</userinput></screen>
+<screen os="d"><userinput>make CFLAGS="-g -Os -Wall"</userinput></screen>
 
     <para os="e">Install the package:</para>
 
diff --git a/BOOK/bootloaders/mips/colo.xml b/BOOK/bootloaders/mips/colo.xml
index f4aa8ea..ee3120d 100644
--- a/BOOK/bootloaders/mips/colo.xml
+++ b/BOOK/bootloaders/mips/colo.xml
@@ -37,8 +37,8 @@
 
     <para os="a">Compile the Colo package:</para>
 
-<screen os="b"><userinput>make CC="${CC}" CROSS_COMPILE="${CLFS_TARGET}-" binary
-make CC="${CC}" CROSS_COMPILE="${CLFS_TARGET}-" tooldirs</userinput></screen>
+<screen os="b"><userinput>make CROSS_COMPILE="${CLFS_TARGET}-" binary
+make CROSS_COMPILE="${CLFS_TARGET}-" tooldirs</userinput></screen>
 
     <para os="c">Install the package:</para>
 
diff --git a/BOOK/final-system/common/zlib.xml b/BOOK/final-system/common/zlib.xml
index d12c546..23d432b 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}" ./configure --prefix=/usr --shared</userinput></screen>
+<screen os="d"><userinput>./configure --prefix=/usr --shared</userinput></screen>
 
     <variablelist os="aa">
       <title>The meaning of the configure options:</title>

commit f9614ce16e559c5106380c1d01ad6b897db3ea21
Author: Andrew Bradford <bradfa at gmail.com>
Date:   Fri Feb 11 06:03:31 2011 -0500

    Fixed CLFS_ENDIAN = "CLFS_CPU" typto in variables
    
    Should be CLFS_CPU = "CLFS_CPU", fixed.

diff --git a/BOOK/cross-tools/x86/variables.xml b/BOOK/cross-tools/x86/variables.xml
index f17323f..e32ac2b 100644
--- a/BOOK/cross-tools/x86/variables.xml
+++ b/BOOK/cross-tools/x86/variables.xml
@@ -36,7 +36,7 @@ export CLFS_ENDIAN=little</userinput></screen>
 echo export CLFS_TARGET=\""${CLFS_TARGET}\"" >> ~/.bashrc
 echo export CLFS_ARCH=\""${CLFS_ARCH}\"" >> ~/.bashrc
 echo export CLFS_ENDIAN=\""${CLFS_ENDIAN}\"" >> ~/.bashrc
-echo export CLFS_ENDIAN=\""${CLFS_CPU}\"" >> ~/.bashrc</userinput></screen>
+echo export CLFS_CPU=\""${CLFS_CPU}\"" >> ~/.bashrc</userinput></screen>
 
   <table os="i">
     <title>Processor Type and  Target Triplets</title>

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

Summary of changes:
 BOOK/beyond-clfs/common/hostapd.xml |    2 +-
 BOOK/bootloaders/mips/colo.xml      |    4 ++--
 BOOK/cross-tools/x86/gcc-final.xml  |    3 ++-
 BOOK/cross-tools/x86/gcc-static.xml |   10 +++++++++-
 BOOK/cross-tools/x86/variables.xml  |    2 +-
 BOOK/final-system/common/zlib.xml   |    2 +-
 6 files changed, 16 insertions(+), 7 deletions(-)


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



More information about the Clfs-commits mailing list