Re: Feeler for GMP support
From: BRG (brg_at_nowhere.org)
Date: Tue, 19 Jul 2005 10:26:13 +0100
> Peter Gutmann wrote:
>>"Tom St Denis" <firstname.lastname@example.org> writes:
>>>I'm making the math in LibTomCrypt pluggable [e.g. swap in any other
>>>math lib fairly trivially] and wondering if there would be any interest
>>>in using GnuMP [GMP] with LibTomCrypt?
>>One thing to be aware of with GMP is that it follows the general rule that to
>>build GNU-anything, you need GNU-everything-else. I've looked at it a couple
>>of times in the past and it's totally un-buildable with anything other than
>>GNU tools, making it non-portable to anything that doesn't use the GNU
>>toolchain. This is a pity, because it's rather a nice library...
> I offer a Win32 GMP port using Microsoft tools here:
> But, as you say, it is not possible to add this to a product that is not
> itself a GPL'd product.
On looking at this I find that GMP is distributed under the LGPL
(Library or Lesser GPL).
I am no expert on this but I think the LGPL does allow both static and
dynamic linking to proprietary code.