On Wed, 17 Apr 2013, Niels Möller wrote:

Martin Storsjö <[email protected]> writes:

On Mon, 25 Mar 2013, Niels Möller wrote:

They're archtecture dependent, depending mainly on GMP_NUMB_BITS on the
target system. One option is to bundle mini-gmp, see
http://gmplib.org:8000/gmp/file/mini-gmp. Or if one is prepared to limit
the support to 32-bit and 64-bit limbs, one could generate tables for
both sizes and include in the tarballs.

Hmm, both solutions do sound pretty sensible - and thanks for the
pointer to mini-gmp. Hooking that up during the cross-builds I
mentioned should possibly be easier than building and installing a
full GMP, even if it isn't included in release tarballs.

I'm about to add mini-gmp now. Should help also for native compilation,
in the case that -lgmp isn't enough for the linker to find a suitable
gmp library.

Great, that sounds promising, and will absolutely help a lot in at least two setups I know of.

eccdata needs some tedious changes to work with mini-gmp, since it lacks
gmp_f?printf. Those calls have to be replaced by a mix of regular printf
and mpz_out_str.

(Note that mini-gmp is LGPLv3, just like recent GMP, but that shouldn't
matter for nettle users as long as mini-gmp is used only for the eccdata
program).

Yes, this shouldn't be an issue.

// Martin
_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to