[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] dynamic libraries

On Wed, Feb 23, 2005 at 11:19:18PM +0000, Keir Fraser wrote:
> >
> >Well, it just doesn't work at all on amd64, as well as other arches.  
> >It just
> >happens to work on i386, so most people never notice it.
> Okay, can we just build -fPIC for static libraries as well, or do they 
> have to be non-PIC?
> Building the libraries twice seems weird to me. :-)

The most common case I saw is indeed build them twice. So if both library
are needed I'd do the same. PIC implies performance hit you can avoid in
static library.

> Another option is not to bother building dynamic libraries but to 
> statically link libxc and
> libxutil. Avoids versioning problems and it's not like there's some big 
> sharing win to
> be had. Any strong opinions on this?

In production environment it is enought to have only dynamic library,
for development - static one sometimes is more convinient.

--Andrei Petrov

SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.