But on X86/64, -fno-pic doesn't seem to have any effect whatsoever.

Tomas Carnecky tom at dbservice.com
Wed Jul 16 20:39:18 CEST 2008


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.

tom


More information about the gmp-discuss mailing list