[patch 07/10] Fix PPL build for MINGW
Bart van der Meulen
bartvdrmeulen@gmail.com
Sun Jul 18 09:53:00 GMT 2010
Yann, Johannes, All
2010/7/14 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>:
> Remy, Bart, Johannes, All,
>
> On Monday 12 July 2010 23:13:50 Johannes Stezenbach wrote:
>> The patches/ppl/0.10.2/100-update-for-mingw-build.patch
>> added by this changeset breaks it for me:
>>
>> [ALL ] checking how to link with libgmp... -lgmp
>> [ALL ] checking how to link with libgmpxx... /home/js/tmp/toolchain/build/targets/arm-unknown-linux-uclibcgnueabi/build/static/lib/libgmpxx.a -lgmp
>> [ALL ] checking for the GMP library version 4.1.3 or above... no
>> [ERROR] configure: error: Cannot find GMP version 4.1.3 or higher.
>>
>> Due to the patch the ppl configure script looks for
>> /home/js/tmp/toolchain/build/targets/arm-unknown-linux-uclibcgnueabi/build/static/lib/libgmp.so.a
>> instead of .../libgmp.a.
>
> Remy and Bart, what was that patch supposed to fix? The description is
> too vague for me to understand what it was trying to do.
>
> I guess at the time you built your patch, we were still using shared libs
> with the wrapper, but now the default is to use static libs with no
> wrapper (although we can still use shared libs if the user wants it,
> but it is going away ASAP).
>
> I'm reverting that for now. If you still need to fix your issue, I'm ready
> to add a better patch, but really I don't see what it's trying to fix.
Yes, the patch was from the time the companion libs where build shared.
We where trying to build our tool-chains with the gcc 4.4.3 at that time which
failed due to several errors, of which this fixed one. Because of
these error we kept using gcc 4.3.4,
I pulled the current crosstool tree yesterday and did some tests with
our configurations and gcc 4.4.3.
I was able to build a working tool-chain, so I believe the patch is no
longer needed when building the companion libs
statically, however I still needed to patch the build of cloog which
failed to link against libstdc++.
I attached a patch which fixed the problem (for me)
> 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. |
> '------------------------------^-------^------------------^--------------------'
>
>
>
Greeting,
Bart vdr. Meulen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: use-with-host-libstdcxx-for-cloog.patch
Type: text/x-patch
Size: 1706 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20100718/43084972/attachment.bin>
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list