mini-gmp warnings
Marco Bodrato
bodrato at mail.dm.unipi.it
Sun Apr 26 17:09:38 UTC 2020
Il 2020-04-26 16:22 nisse at lysator.liu.se ha scritto:
> Is there an easy way to run mini-gmp tests with
> small limb size?
In mini-gmp/mini-gmp.h we have the following lines:
#ifndef MINI_GMP_LIMB_TYPE
#define MINI_GMP_LIMB_TYPE long
#endif
typedef unsigned MINI_GMP_LIMB_TYPE mp_limb_t;
So, you should define MINI_GMP_LIMB_TYPE to something like int, short,
or char.
The following line works in my environment:
make CPPFLAGS="-DMINI_GMP_LIMB_TYPE=char" check-mini-gmp
Ĝis,
m
More information about the gmp-devel
mailing list