[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bignum branch
From: |
Andy Moreton |
Subject: |
Re: bignum branch |
Date: |
Fri, 10 Aug 2018 12:18:02 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (windows-nt) |
On Fri 10 Aug 2018, Paul Eggert wrote:
> Andy Moreton wrote:
>> I don't know how to fix the configury and makefiles to ensure it
>> links against a static library if it is available.
>
> Please keep in mind that we shouldn't prefer static linking on GNU/Linux
> platforms, even if a static library is available. These systems generally have
> a libgmp managed by standard tools like dnf or apt, and so the advantages
> static linking has on MS-Windows don't apply.
Both static and dynamic linking work on Windows if the right headers are
installed to declare functions properly. The fact that the GMP project
cannot organise its public headers properly is an irritation.
Performance may be faster on any platform using static linking
(depending on the details of the ABI and runtime linker).
GCC links GMP statically. Platform package manager updates to shared
libraries are more likely to cause breakage than static linking.
AndyM
- Re: bignum branch, (continued)
- Re: bignum branch, Eli Zaretskii, 2018/08/10
- Re: bignum branch, Andy Moreton, 2018/08/10
- Re: bignum branch, Paul Eggert, 2018/08/10
- Re: bignum branch, Eli Zaretskii, 2018/08/10
- Re: bignum branch, Paul Eggert, 2018/08/10
- Re: bignum branch, Eli Zaretskii, 2018/08/11
- Re: bignum branch, Paul Eggert, 2018/08/11
- Re: bignum branch, Eli Zaretskii, 2018/08/11
- Re: bignum branch, Stefan Monnier, 2018/08/11
- Re: bignum branch, Paul Eggert, 2018/08/11
- Re: bignum branch,
Andy Moreton <=
- Re: bignum branch, Andreas Schwab, 2018/08/10
- Re: bignum branch, Eli Zaretskii, 2018/08/10
- Re: bignum branch, Andy Moreton, 2018/08/10
- Re: bignum branch, Achim Gratz, 2018/08/10
- Re: bignum branch, Eli Zaretskii, 2018/08/10
- Re: bignum branch, Andy Moreton, 2018/08/10
- Re: bignum branch, Eli Zaretskii, 2018/08/10
- Re: bignum branch, Andy Moreton, 2018/08/10
- Re: bignum branch, Eli Zaretskii, 2018/08/10
- Re: bignum branch, Andy Moreton, 2018/08/10