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

Mikhail Teterin mi+mxe at aldan.algebra.com
Tue Feb 28 10:30:14 PST 2006


While we discuss libtool, I have a request. As installed, libtool builds
shared objects with just `-fPIC' on FreeBSD.

The bsd.lib.mk is both smarter -- it uses the more efficient `-fpic' on
all arches, but sparc64, and more accurate -- it appends the `-DPIC' to
the CFLAGS.

I'm yet to find the souse, that would make the libtool/autoconf/automake
spaghetti palatable, but if anyone already knows this software, the
change should be trivial.

Yours,

	-mi


More information about the freebsd-gnome mailing list