Small limb-size in mini-gmp?
Torbjörn Granlund
tg at gmplib.org
Sat Nov 16 20:49:15 UTC 2019
Marco Bodrato <bodrato at mail.dm.unipi.it> writes:
Il 2019-11-13 22:20 nisse at lysator.liu.se ha scritto:
> tg at gmplib.org (Torbjörn Granlund) writes:
>
>> 2. follow Marco's proposal allowing "char", "short", "int", "long",
>> and
>> perhaps the spacey "long long" as overriding types, or
>
> I guess that's good enough for now. But is it that difficult to do
> quoting of "unsigned char"? Something like
>
> make check-mini-gmp CPPFLAGS='-D"MINI_GMP_LIMB_TYPE=unsigned char"'
With the patch below applied, the following line works on shell:
gmake CPPFLAGS='-DMINI_GMP_LIMB_TYPE=unsigned\ char' check-mini-gmp
And also on my Debian...
As soon as that is committed, I will config a nightly build to exercise
it.
--
Torbjörn
Please encrypt, key id 0xC8601622
More information about the gmp-devel
mailing list