GMP and 64-bit systems

Torbjorn Granlund tg at
Mon Jun 2 22:54:11 CEST 2008

Vincent Lefevre <vincent at> writes:

  > 2) Have configure edit gmp.h, e.g., insert
  >      #define __GMP_LONG_LONG_SIZE 1
  >    when relevant.  Note that we already edit gmp.h for other things.
  Yes, since gmp.h is already edited, I'd say that this is the best
Yes, it is simple and safe.

  > (I should perhaps mention that it would be nice to get rid of this
  > gmp.h editing, and have everything wrok right from compiler options.
  > Unfortunately, we have not managed to get that to work reliably.)
  Any example of problems?
Various ABI clashes in a system.  Multilibs will not work.


More information about the gmp-discuss mailing list