[PATCH] complibs/ppl: allow ppl-0.10.2 to configure/build with gmp >=5.0.x
Arnaud Lacombe
lacombar@gmail.com
Fri Oct 22 21:08:00 GMT 2010
Hi,
On Fri, Oct 22, 2010 at 4:48 PM, Yann E. MORIN
<yann.morin.1998@anciens.enib.fr> wrote:
> 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?
>
there should already a patch for that:
http://github.com/crosstool-ng/crosstool-ng/commit/6f2faa9aec1fc722046cba470bdda42254a2b711
- Arnaud
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list