Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Sep 2005 20:01:23 -0400
From:      Tom St Denis <tomstdenis@gmail.com>
To:        freebsd-amd64@freebsd.org
Cc:        shellreef+freebsd@gmail.com
Subject:   Re: [PATCH] LibTomCrypt on amd64 and -fPIC
Message-ID:  <bd0cb795050905170173c9bebb@mail.gmail.com>
In-Reply-To: <20050905235554.GA93379@dragon.NUXI.org>
References:  <e7ce49350508241918610b1f4c@mail.gmail.com> <20050905235554.GA93379@dragon.NUXI.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/5/05, David O'Brien <obrien@freebsd.org> wrote:
> On Wed, Aug 24, 2005 at 07:18:18PM -0700, shellreef@gmail.com wrote:
> > To FreeBSD-amd64: Can we add -fPIC to make.conf? Are there any
> > side-effects? (I'd prefer this as I use packages and would prefer to
> > not compile from ports.)
>=20
> No.  -fPIC should only be used to build shared libraries.  Not every
> since piece of code compiled for AMD64.

If the library doesn't build without -fPIC it's because they're using
a custom compiler.  I've built LTC on 4.0.1, 3.4.4, 3.3.6 and 2.96
boxes [it isn't stable on 4.01, 3.3.6 but it at least builds].

Tom



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