Getting GMP to compile on an intel core duo MacBook Pro

Christian Leber christian at
Thu May 31 12:58:32 CEST 2007

On Thu, May 31, 2007 at 03:31:06AM -0400, Ken Tozier wrote:


> I've been spinning my wheels for hours trying to get gmp to compile  
> on a core duo. Has anyone out there gotten it running?

Has nothing to do with the CPU.

> After downloading and unzipping the source, I do the following:
> cd to the gmp-4.2.1 directory
> ./configure
> make
> make check
> fails with errors:
> 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  -m32 -O2 -fomit-frame-pointer - 
> mtune=pentium3 -march=pentium3   -o t-bswap  t-bswap.o ../ 
> libtool: link: cannot find the library `2007/gmp-4.2.1/'

Where is this "2007" from?
Are you building in a extra directory?

is the gmp-4.2.1/ in place?

Either you do something else than you have written or your build system
is defunct.

Christian Leber


More information about the gmp-discuss mailing list