On Fri, Apr 07, 2006 at 06:27:25AM -0500, Dirk Eddelbuettel wrote: > I am still a bit suspicious of your > brute force replacement of -fpic. Or do you know for sure that gcc 4.* > requires it? Should it then be conditional on gcc/g++ versions be larger > than a threshold?
It is not related to the compiler version. -fpic is documented to have
limitations on some systems and is not reliable on some of them for
larger software. The usage of -fPIC enables the use of other relocation
types which don't have this limitations (or much larger). On most arches
it don't make any difference at all.
Bastian
--
I'm a soldier, not a diplomat. I can only tell the truth.
-- Kirk, "Errand of Mercy", stardate 3198.9
signature.asc
Description: Digital signature

