gmp-4.2 on MacIntel

Enrico Franchi rik0.py at gmail.com
Tue Mar 28 16:13:52 CEST 2006


28 Mar 2006 15:35:01 +0200, Torbjorn Granlund <tege at swox.com>:

> MacIntel is not supported in gmp 4.2.
>
> I suspect "configure --host=none-unknown-none" might work, but
> I haven't tested that.

--host=none-apple-darwin works perfectly.

BTW it works even if I enable shared libraries.

./configure --host=none-apple-darwin --enable-cxx --enable-shared

make && make check succeeds.

However having to renounce to asm optimization is sad.

A couple of days ago I built gmp 4.2 just with ./configure, since I
wanted to try gmpbench. In fact it worked (however I did not make
check).

May I ask you what the problem is with new mac intels? It's strange
that assembly optimization works for plain gmp but not for gmp-cxx.
gmp is stable enought to run a bench (and I suppose some standard
software), but fails badly on the tests (a linking problem, in fact --
I suppose it reguards libtests.a since as I said compiling gmpbench
against libgmp.a worked).

If you give me a couple of hints on what needs to be done, I can try
and investigate it further.

--
-enrico
http://www.akropolix.net/rik0
http://www.akropolix.net/rik0/blogs


More information about the gmp-bugs mailing list