Getting GMP to compile on an intel core duo MacBook Pro
Ken Tozier
kentozier at comcast.net
Thu May 31 09:31:06 CEST 2007
Hi
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?
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 libtests.la t-bswap t-constants t-count_zeros t-gmpmax t-
hightomask t-modlinv t-popc t-parity t-sub
make[4]: `libtests.la' 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 libtests.la ../
libgmp.la
libtool: link: cannot find the library `2007/gmp-4.2.1/libgmp.la'
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
One thing that seems odd to me (although I have no idea what settings
are correct) are: "-mtune=pentium3 -march=pentium3" Why is it
configuring for a Pentium 3 on a core duo and how can I fix this?
Thanks for any help
Ken
More information about the gmp-discuss
mailing list