Date: Tue, 7 Mar 2006 20:07:12 +0100 (CET) From: <pfgshield-freebsd@yahoo.com> To: Kris Kennaway <kris@obsecurity.org>, ports@FreeBSD.org Subject: Re: amd64 and -fPIC Message-ID: <20060307190712.68220.qmail@web32713.mail.mud.yahoo.com> In-Reply-To: <20060307184210.GA33347@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--- Kris Kennaway <kris@obsecurity.org> ha scritto: ... > > > > That doesn't solve the problem, which is: the static library is > > almost useless, and users might actually want or need to use the > > static library. > > Why do you say it's useless? The point of a static library is for > static linking, and this works fine on amd64 or any other > architecture. > The problem is mixing static and shared libraries: this is perfectly legal and very often desired in most platforms except on amd64. There are reasons to use static libraries, there are reasons to use shared libraries, and there are reasons to want to use both. So unless the *.a standlaone library is only used on one (static) application, -fPIC looks pretty much unavoidable. cheers, Pedro. ___________________________________ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060307190712.68220.qmail>