Peter Eisentraut <peter_e@gmx.net> writes:
> > The reason for -fpic vs -fPIC (on the machines where it makes any
> > difference at all) is that the former is faster.
>
> I don't doubt that, but out of curiosity, considering that everyone else
> is using libtool, and libtool always uses -fPIC, what kind of impact
> does this *really* have?
Incidentally, Debian uses -fPIC as a matter of policy everywhere too. I think
the problem is that it's hard to know in advance whether -fpic is going to
cause a problem and mixing -fpic and -fPIC libraries is a problem. So it's
safer to just compile all the libraries with -fPIC.
--
greg