While we discuss libtool (-fpic vs. -fPIC)

Mikhail Teterin mi+mxe at aldan.algebra.com
Tue Feb 28 12:49:46 PST 2006


У вт, 2006-02-28 у 15:44 -0500, Kris Kennaway пише:
> The thing is, on i386 it makes no difference, it's only on some
> archtechtures where it matters. And it has to do with both the size of
> the symbol table and the size of the code. 
> --
> 
> Also, Peter Wemm confirmed for me that -fpic and -fPIC are identical
> on amd64.

Mmm, this may be right... bsd.lib.mk's taking special care to use -fpic
is what confused me.

We should still use -DPIC for consistency, but very few files compile
differently based on that define.

	-mi


More information about the freebsd-gnome mailing list