problem with "make check" on windows with shared library

Torbjorn Granlund tg at gmplib.org
Wed Jun 3 12:34:33 CEST 2009


Marcin Kucharczyk <marcinkk at gmail.com> writes:

  Platform: MinGW on Windows.
  
  Almost everything works, but ...
  
  I've configured gmp-4.3.1 using (to get the dll library):
  
  ./configure --disable-static --enable-shared --enable-cxx --enable-fat
  
  then:
  
  make check
  
  and the result is:
  
  make[4]: Entering directory `/d/gmp-4.3.1/tests'
  FAIL: t-bswap.exe
  FAIL: t-constants.exe
  FAIL: t-count_zeros.exe
  FAIL: t-gmpmax.exe
  FAIL: t-hightomask.exe
  FAIL: t-modlinv.exe
  FAIL: t-popc.exe
  FAIL: t-parity.exe
  FAIL: t-sub.exe

  but... "make test" works properly when static library is compiled. Compiled
  dll file also works fine, just an error in the "make test" :(
  
I know nothing about this platform or how shared libraries are supposed
to work.  Presumably, one needs to put the "DLL" someplace before
running make check.

You might try executing one of the failing test manually, and see what
it says, then paste the error and "GMP" into a search engine.

-- 
Torbjörn


More information about the gmp-bugs mailing list