Compiling GMP on OS X 10.6 (snow leopard)

Torbjorn Granlund tg at
Thu Oct 8 08:44:57 CEST 2009

Katie Scott <katie at> writes:

  GMP does not seem to successfully compile on Mac OS X 10.6.  It
  compiles but make check fails.
  make check
  make  check-recursive
  Making check in tests
  Making check in .
  make t-bswap t-constants t-count_zeros t-gmpmax
  t-hightomask t-modlinv t-popc t-parity t-sub
  make[4]: `' is up to date.
  /bin/sh ../libtool --mode=link gcc  -O2 -pedantic -m64 -mtune=core2
  -o t-bswap  t-bswap.o ../
  libtool: link: cannot find the library `libraries/gmp-4.3.1/'
  or unhandled argument `libraries/gmp-4.3.1/'
  make[4]: *** [t-bswap] Error 1
  make[3]: *** [check-am] Error 2
  make[2]: *** [check-recursive] Error 1
  make[1]: *** [check-recursive] Error 1
  make: *** [check] Error 2
  I see in the directory.
Unfortunately, I have no good guess about what causes this problem.

We might be able to understand what is wrong if you check this out, and then provide the
requested information.


More information about the gmp-bugs mailing list