This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 1 of 3] ppl.sh: Update GMP location configuration argument for PPL v0.11 and later


# HG changeset patch
# User Anthony Foiani <anthony.foiani@gmail.com>
# Date 1305804059 21600
# Branch ppl-config-fixes
# Node ID e88b96d22cacd995521eb40eb14e97a56c017708
# Parent  c6655f80a217ae9c453c7d6f63d97002d3d74dbb
ppl.sh: Update GMP location configuration argument for PPL v0.11 and later

'configure' for PPL 0.11 (and later) needs "--with-gmp-prefix" to
provide the location of the GMP toolkit; the previous switches were
"--with-libgmp-prefix" and "--with-libgmpxx-prefix".

The upstream log message is:

  commit 08dfb6fea094f8c5a533575a3ea2095edce99a6d
  Author: Roberto Bagnara <bagnara@cs.unipr.it>
  Date:   Sun Jul 12 21:39:46 2009 +0200

     New configure option --with-gmp-prefix supersedes the (now removed)
     options --with-libgmp-prefix and --with-libgmpxx-prefix.

Link: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=08dfb6fea094f8c5a533575a3ea2095edce99a6d
      (shortened to: http://preview.tinyurl.com/4ywrdaf )

Since PPL's 'configure' ignores unknown switches, we use all three so we
don't have to conditionalize the ppl.sh build script itself.

Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>

diff -r c6655f80a217 -r e88b96d22cac scripts/build/companion_libs/ppl.sh
--- a/scripts/build/companion_libs/ppl.sh	Wed May 18 23:48:56 2011 +0200
+++ b/scripts/build/companion_libs/ppl.sh	Thu May 19 05:20:59 2011 -0600
@@ -41,6 +41,7 @@
         --prefix="${CT_COMPLIBS_DIR}"               \
         --with-libgmp-prefix="${CT_COMPLIBS_DIR}"   \
         --with-libgmpxx-prefix="${CT_COMPLIBS_DIR}" \
+        --with-gmp-prefix="${CT_COMPLIBS_DIR}"      \
         --enable-cxx                                \
         --enable-watchdog                           \
         --disable-debugging                         \

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]