Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2006 14:24:54 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        Mikhail Teterin <mi+mxe@aldan.algebra.com>
Cc:        ports@FreeBSD.org, gnome@FreeBSD.org
Subject:   Re: While we discuss libtool (-fpic vs. -fPIC)
Message-ID:  <20060228192453.GA84695@xor.obsecurity.org>
In-Reply-To: <1141151381.20664.19.camel@mteterin.us.murex.com>
References:  <1141151381.20664.19.camel@mteterin.us.murex.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--tThc/1wpZn/ma/RB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Feb 28, 2006 at 01:29:41PM -0500, Mikhail Teterin wrote:
> While we discuss libtool, I have a request. As installed, libtool builds
> shared objects with just `-fPIC' on FreeBSD.
>=20
> 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.
>=20
> 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.

Not sure what you're requesting precisely, but -fPIC and not -fpic is
correct on amd64 and ia64.

Kris

--tThc/1wpZn/ma/RB
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (FreeBSD)

iD8DBQFEBKOFWry0BWjoQKURAu0VAKDMlp4NygEkzSba4HGpNTL8vQLWogCgvvza
DyLqPxSkdkBdNND0Z7919tE=
=FEfO
-----END PGP SIGNATURE-----

--tThc/1wpZn/ma/RB--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060228192453.GA84695>