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]

Re: [PATCH] complibs/ppl: allow ppl-0.10.2 to configure/build with gmp >=5.0.x


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


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