Re: Hardcoded value of GMP_LIMB_BITS impedes bi-arch builds

2020-09-30 Thread Niels Möller
Jan Engelhardt writes: > When ./configure has run, the GMP_LIMB_BITS define in gmp.h is hardcoded > to 32 or 64, depending on arch. This makes it impossible to use that > header file for a x86_64-driven build with gcc -m32. For what it's worth, debian multilib installs would have two separate

Re: Hardcoded value of GMP_LIMB_BITS impedes bi-arch builds

2020-09-30 Thread Torbjörn Granlund
Jan Engelhardt writes: When ./configure has run, the GMP_LIMB_BITS define in gmp.h is hardcoded to 32 or 64, depending on arch. This makes it impossible to use that header file for a x86_64-driven build with gcc -m32. It is my (naive) view that declaring #define GMP_LIMB_BITS (

Hardcoded value of GMP_LIMB_BITS impedes bi-arch builds

2020-09-30 Thread Jan Engelhardt
Version: gmp-6.2.0 When ./configure has run, the GMP_LIMB_BITS define in gmp.h is hardcoded to 32 or 64, depending on arch. This makes it impossible to use that header file for a x86_64-driven build with gcc -m32. It is my (naive) view that declaring #define GMP_LIMB_BITS (sizeof(mp_l