Amos Jeffries squid3@treenet.co.nz writes:
If this mp_limb_t type being long is a generic thing it is likely affecting other 32-bit OS with mini-gmp in the same way.
I don't think it's a very general problem. First, that assembly code expects a particular size of mp_limb_t affects only the few architectures for which Nettle includes any assembly code. Second, the problem was a 64-bit platform using a 32-bit unsigned long. As far as I'm aware, 64-bit windows is fairly unique in this choice of ABI (and there have been a couple of other workarounds related to that).
Anyway, the current mechanism, marking assembly files with the expected GMP_NUMB_BITS, can be added to other assembly files if the need arises.
Regards, /Niels