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

git git at cross-lfs.org
Mon Aug 27 17:53:13 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  36a0aca22e7e3dc7d68850a5d4d7f8a61ef5ade5 (commit)
      from  00d5d8eb2c1b6b1091c54c3ed20240721b1e2b05 (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 36a0aca22e7e3dc7d68850a5d4d7f8a61ef5ade5
Author: William Harrington <kb0iic at gmail.com>
Date:   Mon Aug 27 19:53:04 2012 -0500

    Update ppl cross-tools and tools to properly find and use the correct gmp.

diff --git a/BOOK/cross-tools/common/ppl.xml b/BOOK/cross-tools/common/ppl.xml
index f171c91..ccb430a 100644
--- a/BOOK/cross-tools/common/ppl.xml
+++ b/BOOK/cross-tools/common/ppl.xml
@@ -28,7 +28,8 @@
     LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
     ./configure --prefix=/cross-tools --enable-shared \
     --enable-interfaces="c,cxx" --disable-optimization \
-    --with-gmp=/cross-tools</userinput></screen>
+    --with-gmp-include=/cross-tools/include \
+    --with-gmp-lib=/cross-tools/lib</userinput></screen>
 
     <para os="c">Compile the package:</para>
 
diff --git a/BOOK/temp-system/64/ppl.xml b/BOOK/temp-system/64/ppl.xml
index d9eb068..f69f832 100644
--- a/BOOK/temp-system/64/ppl.xml
+++ b/BOOK/temp-system/64/ppl.xml
@@ -28,16 +28,8 @@
 
 <screen os="b"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
     --build=${CLFS_HOST} --host=${CLFS_TARGET} \
-    --enable-interfaces="c,cxx" --enable-shared \
-    --disable-optimization --with-gmp=/tools</userinput></screen>
-
-    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
-    href="../common/ppl.xml"
-    xpointer="xpointer(//*[@os='bp1'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
-    href="../common/ppl.xml"
-    xpointer="xpointer(//*[@os='bp2'])"/>
+    --enable-interfaces="c,cxx" --enable-shared --disable-optimization  \
+    --with-gmp-include=/tools/include --with-gmp-lib=/tools/lib</userinput></screen>
 
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     href="../common/ppl.xml"
diff --git a/BOOK/temp-system/common/ppl.xml b/BOOK/temp-system/common/ppl.xml
index 7f9b385..e78d350 100644
--- a/BOOK/temp-system/common/ppl.xml
+++ b/BOOK/temp-system/common/ppl.xml
@@ -27,13 +27,7 @@
 <screen os="b"><userinput>./configure --prefix=/tools \
     --build=${CLFS_HOST} --host=${CLFS_TARGET} \
     --enable-interfaces="c,cxx" --enable-shared --disable-optimization \
-    --with-gmp=/tools</userinput></screen>
-
-    <para os="bp1">When PPL is cross-compiled, it does not check whether
-    GMP was compiled with support for exceptions, and simply assumes it was not.
-    This assumption is incorrect, so we will fix that:</para>
-
-<screen os="bp2"><userinput>echo '#define PPL_GMP_SUPPORTS_EXCEPTIONS 1' >> confdefs.h</userinput></screen>
+    --with-gmp-include=/tools/include --with-gmp-lib=/tools/lib</userinput></screen>
 
     <para os="c">Compile the package:</para>
 
diff --git a/BOOK/temp-system/multilib/ppl.xml b/BOOK/temp-system/multilib/ppl.xml
index 606f42c..9825483 100644
--- a/BOOK/temp-system/multilib/ppl.xml
+++ b/BOOK/temp-system/multilib/ppl.xml
@@ -28,16 +28,9 @@
 
 <screen os="b"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
     --build=${CLFS_HOST} --host=${CLFS_TARGET} \
-    --enable-interfaces="c,cxx" --libdir=/tools/lib64 --enable-shared \
-    --disable-optimization --with-gmp=/tools</userinput></screen>
-
-    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
-    href="../common/ppl.xml"
-    xpointer="xpointer(//*[@os='bp1'])"/>
-
-    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
-    href="../common/ppl.xml"
-    xpointer="xpointer(//*[@os='bp2'])"/>
+    --enable-interfaces="c,cxx" --libdir=/tools/lib64 \
+    --enable-shared --disable-optimization  \
+    --with-gmp-include=/tools/include --with-gmp-lib=/tools/lib</userinput></screen>
 
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     href="../common/ppl.xml"

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

Summary of changes:
 BOOK/cross-tools/common/ppl.xml   |    3 ++-
 BOOK/temp-system/64/ppl.xml       |   12 ++----------
 BOOK/temp-system/common/ppl.xml   |    8 +-------
 BOOK/temp-system/multilib/ppl.xml |   13 +++----------
 4 files changed, 8 insertions(+), 28 deletions(-)


hooks/post-receive
-- 
Cross-LFS Book



More information about the Clfs-commits mailing list