Broken PIC support in OS X

Torbjorn Granlund tg at gmplib.org
Sat Aug 6 10:16:33 CEST 2011


[I mistakenly replied in private mail, this is the same message
repeated to the list.]

If I understand it correctly, you're using libgmp.a and notice that it
is not PIC.  It is not, indeed.

Then you copy-paste a internal GMP build command that is part of
building libgmp.a, and again correctly notice that it is not PIC.

Please use the shared lib, created by default, called something.dylib on
darwin.  If that is not PIC, we have a bug.

If you don't want a static (non-PIC) lib, please use the
--disable-shared configure option.

-- 
Torbjörn


More information about the gmp-bugs mailing list