Why GMP doesn't support MinGW anymore?

Torbjorn Granlund tg at gmplib.org
Wed Jun 20 11:29:36 CEST 2012


Andrey Khalyavin <halyavin at google.com> writes:

  Command lines I execute from MSYS shell are
  
  mkdir build-gmp
  cd build-gmp
  export PATH=$PATH:/mingw/x86_64-w64-mingw32/lib #otherwise MinGW dll's are
  not found.
  ../gmp-5.0.5/configure CPPFLAGS="-fexceptions" CC="x86_64-w64-mingw32-gcc"
  CXX="x86_64-w64-mingw32-g++" --enable-cxx --enable-fat --disable-shared
  ABI="64" --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32
  --prefix=/c/src/halyavin/build-mingw-on-mingw/gmp-target
  make #-j16
  make install
  
Did you try any simpler configuraton, just to see if you could something
working?

It is possible that GMP 5.0.x doesn't properly handle --enable-fat on
this platform.  Proper handling would mean to basically ignore it, since
there is no assembly to fatten.

This is just a guess, but this time it is an educated guess.  :-)

[Please quote relevant parts of previous messages, in particular avoid
top-posting.  Adequate quoting makes things easier to follow.]

-- 
Torbjörn


More information about the gmp-bugs mailing list