Why GMP doesn't support MinGW anymore?

Torbjorn Granlund tg at gmplib.org
Tue Jun 19 14:27:06 CEST 2012

Andrey Khalyavin <halyavin at google.com> writes:

  I'm trying to compile MinGW what is impossible without GMP. I tried to use
  newest version 5.0.5. But when I try to compile gcc, compiled compiler
  immediately crashes. The source of the crash is __gmpn_cpuid function in
  mpn\x86_64\fat\fat_entry.asm . This function uses Linux AMD64 calling
  convention instead of Windows AMD64 one needed for MinGW. Can GMP use
  conditional compilation to provide a suitable version of this function?
I have no guess how you ended up with a build that includes assembly
code unsuitable for your host.  Perhaps this is a GMP bug, perhaps you
worked around GMP's configure mechanims.



More information about the gmp-bugs mailing list