[PATCH] complibs/ppl: allow ppl-0.10.2 to configure/build with gmp >=5.0.x
Bryan Hundven
bryanhundven@gmail.com
Fri Oct 22 20:52:00 GMT 2010
On Fri, Oct 22, 2010 at 1: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?
Sorry, I forgot to mention in the patch that this still works for me with 4.3.2.
I didn't test lesser versions though.
>
> 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. |
> '------------------------------^-------^------------------^--------------------'
>
>
>
-Bryan
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list