[Clfs-commits] [Cross-LFS]Cross-LFS Book branch, master, updated. d08e6602bcca284aa3ce7bc85656a8a81494cc2b

git git at cross-lfs.org
Fri Sep 7 13:33:38 PDT 2012


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 Book".

The branch, master has been updated
       via  d08e6602bcca284aa3ce7bc85656a8a81494cc2b (commit)
      from  cf7616fd617e3e209eff29f3c6641e93aa7e0dad (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 d08e6602bcca284aa3ce7bc85656a8a81494cc2b
Author: William Harrington <kb0iic at gmail.com>
Date:   Fri Sep 7 15:33:33 2012 -0500

    Disable the building of static libraries in appropriate secionts during cross-tools.

diff --git a/BOOK/cross-tools/common/binutils-32.xml b/BOOK/cross-tools/common/binutils-32.xml
index d956c97..f15600c 100644
--- a/BOOK/cross-tools/common/binutils-32.xml
+++ b/BOOK/cross-tools/common/binutils-32.xml
@@ -50,7 +50,7 @@
 <screen os="bc"><userinput>AR=ar AS=as ../binutils-&binutils-dir;/configure \
   --prefix=/cross-tools --host=${CLFS_HOST} --target=${CLFS_TARGET} \
   --with-sysroot=${CLFS} --with-lib-path=/tools/lib --disable-nls --enable-shared \
-  --disable-multilib</userinput></screen>
+  --disable-static --disable-multilib</userinput></screen>
 
     <variablelist os="bd">
       <title>The meaning of the configure options:</title>
diff --git a/BOOK/cross-tools/common/binutils.xml b/BOOK/cross-tools/common/binutils.xml
index 006fcf6..80d1044 100644
--- a/BOOK/cross-tools/common/binutils.xml
+++ b/BOOK/cross-tools/common/binutils.xml
@@ -50,7 +50,7 @@
 <screen os="bc"><userinput>AR=ar AS=as ../binutils-&binutils-dir;/configure \
   --prefix=/cross-tools --host=${CLFS_HOST} --target=${CLFS_TARGET} \
   --with-sysroot=${CLFS} --with-lib-path=/tools/lib --disable-nls --enable-shared \
-  --enable-64-bit-bfd --disable-multilib</userinput></screen>
+  --disable-static --enable-64-bit-bfd --disable-multilib</userinput></screen>
 
     <variablelist os="bd">
       <title>The meaning of the configure options:</title>
diff --git a/BOOK/cross-tools/common/cloog.xml b/BOOK/cross-tools/common/cloog.xml
index 745cab1..812b364 100644
--- a/BOOK/cross-tools/common/cloog.xml
+++ b/BOOK/cross-tools/common/cloog.xml
@@ -33,7 +33,7 @@
     <para os="a">Prepare CLooG for compilation:</para>
 
 <screen os="b"><userinput>LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
-    ./configure --prefix=/cross-tools --enable-shared \
+    ./configure --prefix=/cross-tools --enable-shared --disable-static \
     --with-gmp-prefix=/cross-tools</userinput></screen>
 
     <para os="c">Compile the package:</para>
diff --git a/BOOK/cross-tools/common/file.xml b/BOOK/cross-tools/common/file.xml
index 1caf87b..bb51d7a 100644
--- a/BOOK/cross-tools/common/file.xml
+++ b/BOOK/cross-tools/common/file.xml
@@ -24,7 +24,7 @@
 
     <para>Prepare File for compilation:</para>
 
-<screen><userinput>./configure --prefix=/cross-tools</userinput></screen>
+<screen><userinput>./configure --prefix=/cross-tools --disable-static</userinput></screen>
 
     <para>Compile the package:</para>
 
diff --git a/BOOK/cross-tools/common/gcc-final.xml b/BOOK/cross-tools/common/gcc-final.xml
index 9355466..8fd49f3 100644
--- a/BOOK/cross-tools/common/gcc-final.xml
+++ b/BOOK/cross-tools/common/gcc-final.xml
@@ -70,10 +70,11 @@
   ../gcc-&gcc-version;/configure --prefix=/cross-tools \
   --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \
   --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \
-  --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit \
-  --with-mpfr=/cross-tools --with-gmp=/cross-tools --enable-c99 \
-  --with-ppl=/cross-tools --with-cloog=/cross-tools --enable-cloog-backend=isl \
-  --enable-long-long --enable-threads=posix --disable-multilib</userinput></screen>
+  --enable-shared --disable-static --enable-languages=c,c++ \
+  --enable-__cxa_atexit --with-mpfr=/cross-tools --with-gmp=/cross-tools \
+  --enable-c99 --with-ppl=/cross-tools --with-cloog=/cross-tools \
+  --enable-cloog-backend=isl --enable-long-long --enable-threads=posix \
+  --disable-multilib</userinput></screen>
 
     <variablelist os="bg">
       <title>The meaning of the new configure options:</title>
diff --git a/BOOK/cross-tools/common/gcc-static.xml b/BOOK/cross-tools/common/gcc-static.xml
index 56bf1dd..76ca58d 100644
--- a/BOOK/cross-tools/common/gcc-static.xml
+++ b/BOOK/cross-tools/common/gcc-static.xml
@@ -69,8 +69,8 @@ sed -e "s@\(^CROSS_SYSTEM_HEADER_DIR =\).*@\1 /tools/include at g" \
   ../gcc-&gcc-version;/configure --prefix=/cross-tools \
   --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
   --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \
-  --disable-shared --with-mpfr=/cross-tools --with-gmp=/cross-tools \
-  --with-ppl=/cross-tools --with-cloog=/cross-tools \
+  --disable-shared --disable-static --with-mpfr=/cross-tools \
+  --with-gmp=/cross-tools --with-ppl=/cross-tools --with-cloog=/cross-tools \
   --without-headers --with-newlib --disable-decimal-float \
   --disable-libgomp --disable-libmudflap --disable-libssp \
   --disable-threads --enable-languages=c --disable-multilib \
diff --git a/BOOK/cross-tools/common/gmp.xml b/BOOK/cross-tools/common/gmp.xml
index 1200460..316b6f3 100644
--- a/BOOK/cross-tools/common/gmp.xml
+++ b/BOOK/cross-tools/common/gmp.xml
@@ -35,7 +35,7 @@
     <para os="a">Prepare GMP for compilation:</para>
 
 <screen os="b"><userinput>CPPFLAGS=-fexceptions ./configure \
-    --prefix=/cross-tools --enable-cxx</userinput></screen>
+    --prefix=/cross-tools --enable-cxx --disable-static</userinput></screen>
 
     <para os="c">Compile the package:</para>
 
diff --git a/BOOK/cross-tools/common/mpc.xml b/BOOK/cross-tools/common/mpc.xml
index dc7987e..e86533c 100644
--- a/BOOK/cross-tools/common/mpc.xml
+++ b/BOOK/cross-tools/common/mpc.xml
@@ -25,9 +25,8 @@
     <para os="a">Prepare MPC for compilation:</para>
 
 <screen os="b"><userinput>LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
-./configure --prefix=/cross-tools \
-    --with-gmp=/cross-tools \
-    --with-mpfr=/cross-tools</userinput></screen>
+./configure --prefix=/cross-tools --disable-static \
+    --with-gmp=/cross-tools --with-mpfr=/cross-tools</userinput></screen>
 
     <para os="c">Compile the package:</para>
 
diff --git a/BOOK/cross-tools/common/mpfr.xml b/BOOK/cross-tools/common/mpfr.xml
index 0d58b8e..9383e9d 100644
--- a/BOOK/cross-tools/common/mpfr.xml
+++ b/BOOK/cross-tools/common/mpfr.xml
@@ -26,7 +26,7 @@
 
 <screen os="b"><userinput>LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
 ./configure --prefix=/cross-tools \
-    --enable-shared --with-gmp=/cross-tools</userinput></screen>
+    --enable-shared --disable-static --with-gmp=/cross-tools</userinput></screen>
 
     <para os="c">Compile the package:</para>
 
diff --git a/BOOK/cross-tools/common/ppl.xml b/BOOK/cross-tools/common/ppl.xml
index f171c91..d0e3772 100644
--- a/BOOK/cross-tools/common/ppl.xml
+++ b/BOOK/cross-tools/common/ppl.xml
@@ -26,7 +26,7 @@
 
 <screen os="b"><userinput>CPPFLAGS="-I/cross-tools/include" \
     LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
-    ./configure --prefix=/cross-tools --enable-shared \
+    ./configure --prefix=/cross-tools --enable-shared --disable-static \
     --enable-interfaces="c,cxx" --disable-optimization \
     --with-gmp=/cross-tools</userinput></screen>
 
diff --git a/BOOK/cross-tools/mips64-64/gcc-final.xml b/BOOK/cross-tools/mips64-64/gcc-final.xml
index 599c19d..3e7dffd 100644
--- a/BOOK/cross-tools/mips64-64/gcc-final.xml
+++ b/BOOK/cross-tools/mips64-64/gcc-final.xml
@@ -78,9 +78,9 @@
   ../gcc-&gcc-version;/configure --prefix=/cross-tools \
   --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \
   --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \
-  --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit \
-  --with-mpfr=/cross-tools --with-gmp=/cross-tools --enable-c99 \
-  --with-ppl=/cross-tools --with-cloog=/cross-tools \
+  --enable-shared --disable-static --enable-languages=c,c++ \
+  --enable-__cxa_atexit --with-mpfr=/cross-tools --with-gmp=/cross-tools \
+  --enable-c99 --with-ppl=/cross-tools --with-cloog=/cross-tools \
   --enable-long-long --enable-threads=posix --with-abi=64\
   --disable-multilib --enable-cloog-backend=isl</userinput></screen>
 
diff --git a/BOOK/cross-tools/mips64-64/gcc-static.xml b/BOOK/cross-tools/mips64-64/gcc-static.xml
index d038ec4..7e796f5 100644
--- a/BOOK/cross-tools/mips64-64/gcc-static.xml
+++ b/BOOK/cross-tools/mips64-64/gcc-static.xml
@@ -87,8 +87,8 @@
   ../gcc-&gcc-version;/configure --prefix=/cross-tools \
   --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
   --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \
-  --disable-shared --with-mpfr=/cross-tools --with-gmp=/cross-tools \
-  --with-ppl=/cross-tools --with-cloog=/cross-tools \
+  --disable-shared --disable-static --with-mpfr=/cross-tools \
+  --with-gmp=/cross-tools --with-ppl=/cross-tools --with-cloog=/cross-tools \
   --without-headers --with-newlib --disable-decimal-float \
   --disable-libgomp --disable-libmudflap --disable-libssp \
   --disable-threads --enable-languages=c --with-abi=64\
diff --git a/BOOK/cross-tools/multilib/binutils.xml b/BOOK/cross-tools/multilib/binutils.xml
index e8dcaec..cc6115c 100644
--- a/BOOK/cross-tools/multilib/binutils.xml
+++ b/BOOK/cross-tools/multilib/binutils.xml
@@ -49,7 +49,7 @@
 <screen os="bc"><userinput>AR=ar AS=as ../binutils-&binutils-dir;/configure \
   --prefix=/cross-tools --host=${CLFS_HOST} --target=${CLFS_TARGET} \
   --with-sysroot=${CLFS} --with-lib-path=/tools/lib --disable-nls --enable-shared \
-  --enable-64-bit-bfd</userinput></screen>
+  --disable-static --enable-64-bit-bfd</userinput></screen>
 
     <variablelist os="bd">
       <title>The meaning of the configure options:</title>
diff --git a/BOOK/cross-tools/multilib/gcc-final.xml b/BOOK/cross-tools/multilib/gcc-final.xml
index b04a8de..8f8d7d2 100644
--- a/BOOK/cross-tools/multilib/gcc-final.xml
+++ b/BOOK/cross-tools/multilib/gcc-final.xml
@@ -70,9 +70,9 @@
   ../gcc-&gcc-version;/configure --prefix=/cross-tools \
   --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \
   --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \
-  --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit \
-  --with-mpfr=/cross-tools --with-gmp=/cross-tools --enable-c99 \
-  --with-ppl=/cross-tools --with-cloog=/cross-tools \
+  --enable-shared --disable-static --enable-languages=c,c++ \
+  --enable-__cxa_atexit --with-mpfr=/cross-tools --with-gmp=/cross-tools \
+  --enable-c99 --with-ppl=/cross-tools --with-cloog=/cross-tools \
   --enable-long-long --enable-threads=posix --enable-cloog-backend=isl</userinput></screen>
 
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
diff --git a/BOOK/cross-tools/multilib/gcc-static.xml b/BOOK/cross-tools/multilib/gcc-static.xml
index 113dadb..498a697 100644
--- a/BOOK/cross-tools/multilib/gcc-static.xml
+++ b/BOOK/cross-tools/multilib/gcc-static.xml
@@ -79,8 +79,8 @@
   ../gcc-&gcc-version;/configure --prefix=/cross-tools \
   --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
   --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \
-  --disable-shared --with-mpfr=/cross-tools --with-gmp=/cross-tools \
-  --with-ppl=/cross-tools --with-cloog=/cross-tools \
+  --disable-shared --disable-static --with-mpfr=/cross-tools \
+  --with-gmp=/cross-tools --with-ppl=/cross-tools --with-cloog=/cross-tools \
   --without-headers --with-newlib --disable-decimal-float \
   --disable-libgomp --disable-libmudflap --disable-libssp \
   --disable-threads --enable-languages=c --enable-cloog-backend=isl</userinput></screen>
diff --git a/BOOK/introduction/common/changelog.xml b/BOOK/introduction/common/changelog.xml
index fc2a4ca..e0f6eda 100644
--- a/BOOK/introduction/common/changelog.xml
+++ b/BOOK/introduction/common/changelog.xml
@@ -41,6 +41,9 @@
         <listitem>
           <para>[William Harrington] - Remove --with-rootlibdir from kmod configure in Ch 7.</para>
         </listitem>
+        <listitem>
+          <para>[William Harrington] - Disable the build of static libraries when appropriate during cross-tools phase.</para>
+        </listitem>
       </itemizedlist>
     </listitem>
 

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

Summary of changes:
 BOOK/cross-tools/common/binutils-32.xml   |    2 +-
 BOOK/cross-tools/common/binutils.xml      |    2 +-
 BOOK/cross-tools/common/cloog.xml         |    2 +-
 BOOK/cross-tools/common/file.xml          |    2 +-
 BOOK/cross-tools/common/gcc-final.xml     |    9 +++++----
 BOOK/cross-tools/common/gcc-static.xml    |    4 ++--
 BOOK/cross-tools/common/gmp.xml           |    2 +-
 BOOK/cross-tools/common/mpc.xml           |    5 ++---
 BOOK/cross-tools/common/mpfr.xml          |    2 +-
 BOOK/cross-tools/common/ppl.xml           |    2 +-
 BOOK/cross-tools/mips64-64/gcc-final.xml  |    6 +++---
 BOOK/cross-tools/mips64-64/gcc-static.xml |    4 ++--
 BOOK/cross-tools/multilib/binutils.xml    |    2 +-
 BOOK/cross-tools/multilib/gcc-final.xml   |    6 +++---
 BOOK/cross-tools/multilib/gcc-static.xml  |    4 ++--
 BOOK/introduction/common/changelog.xml    |    3 +++
 16 files changed, 30 insertions(+), 27 deletions(-)


hooks/post-receive
-- 
Cross-LFS Book



More information about the Clfs-commits mailing list