But on X86/64, -fno-pic doesn't seem to have any effect whatsoever.
Tomas Carnecky
tom at dbservice.com
Thu Jul 17 16:23:34 CEST 2008
Tomas Carnecky wrote:
> On Linux, 64bit shared objects need position independent code, without
> it linking against them will fail. Static libraries / executables don't
> need it. See for example x264's ./configure to see how it detects
> whether PIC is needed or not.
Sorry, I didn't explain fully. $subject is mentioned on this webpage:
http://gmplib.org/macos.html. The 'doesn't seem to' tells me that the
author of the text wasn't sure or didn't know why gcc behaved like that.
I just wanted to clarify.
tom
More information about the gmp-discuss
mailing list