GMP 4.2 passes tests on MacOS Intel

Enrico Franchi rik0.py at gmail.com
Fri Apr 7 11:06:01 CEST 2006


Thanks to a patch written by Alex Martelli, I was able to compile gmp
4.2 on a Mac Intel.

make check succedeed, too.

Since he's got few time, he asked me to submit the patch.

The problem was that apple ld on x86 has the same "bug" that has on
PPC, that is to say it does not link .o files that contain only data
and no functions.

I suppose the very same patch should work for older gmp versions, too.

Unfortunately --enable-cxx still does not work (unless disabling asm
with --host ).
If I have some time I'm going to investigate this.

--
-enrico
http://www.akropolix.net/rik0
http://www.akropolix.net/rik0/blogs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.apple
Type: application/octet-stream
Size: 654 bytes
Desc: not available
Url : http://gmplib.org/list-archives/gmp-bugs/attachments/20060407/f364005b/patch.obj


More information about the gmp-bugs mailing list