[PATCH] complibs/ppl: allow ppl-0.10.2 to configure/build with =?iso-8859-1?q?gmp=09?=>=5.0.x
Yann E. MORIN
yann.morin.1998@anciens.enib.fr
Fri Oct 22 20:48:00 GMT 2010
Bryan, All,
On Tuesday 19 October 2010 10:32:30 Bryan Hundven wrote:
> # HG changeset patch
> # User Bryan Hundven <bryanhundven@gmail.com>
> # Date 1287477105 25200
> # Node ID ed117b2b92f46d20ea366c828e567e9ecba4186c
> # Parent 872ab5091cd4d76fcce0c2aa4b475623a8f43cca
> complibs/ppl: allow ppl-0.10.2 to configure/build with gmp >=5.0.x
>
> diff -r 872ab5091cd4 -r ed117b2b92f4 scripts/build/companion_libs/ppl.sh
> --- a/scripts/build/companion_libs/ppl.sh Mon Oct 18 23:32:02 2010 -0700
> +++ b/scripts/build/companion_libs/ppl.sh Tue Oct 19 01:31:45 2010 -0700
> @@ -32,6 +32,13 @@
> CT_DoStep INFO "Installing PPL"
>
> CT_DoLog EXTRA "Configuring PPL"
> +
> + # The following fixes an issue when detecting newer (>=5.x.x) versions of GMP.
> + # http://cross-lfs.org/view/svn/x86/cross-tools/ppl.html
> + if [ "${CT_PPL_VERSION}" = "0.10.2" ]; then
> + sed -i -e "s/__GMP_BITS_PER_MP_LIMB/GMP_LIMB_BITS/g" \
> + "${CT_SRC_DIR}/ppl-${CT_PPL_VERSION}/configure"
> + fi
What happens when using GMP < 5.0.0 ? Does it still work with this hack?
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list