All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrei Petrov <andrei.petrov@veritas.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: Adam Heath <doogie@brainfood.com>,
	Andrei Petrov <andrei.petrov@veritas.com>,
	"xen-devel@lists.sourceforge.net"
	<xen-devel@lists.sourceforge.net>
Subject: Re: dynamic libraries
Date: Wed, 23 Feb 2005 16:23:35 -0800	[thread overview]
Message-ID: <20050224002335.GB6489@liz.veritas.com> (raw)
In-Reply-To: <794420537adac1b4f01e86b86acd4ff1@cl.cam.ac.uk>

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.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

  parent reply	other threads:[~2005-02-24  0:23 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-23 21:28 dynamic libraries Andrei Petrov
2005-02-23 23:08 ` Keir Fraser
2005-02-23 23:14   ` Adam Heath
2005-02-23 23:19     ` Keir Fraser
2005-02-23 23:26       ` Adam Heath
2005-02-23 23:43         ` Keir Fraser
2005-02-24  0:00           ` Adam Heath
2005-02-24  0:09             ` smohekey
2005-02-24  0:12               ` Adam Heath
2005-02-24  1:40           ` [Xen-devel][PATCH] " Vincent Hanquez
2005-02-24  7:33             ` Keir Fraser
2005-02-24  0:23       ` Andrei Petrov [this message]
2005-02-24  0:46       ` Jacob Gorm Hansen
2005-02-24  0:18     ` Andrei Petrov
  -- strict thread matches above, loose matches on Subject: below --
2005-02-24  0:20 Charles Coffing

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050224002335.GB6489@liz.veritas.com \
    --to=andrei.petrov@veritas.com \
    --cc=Keir.Fraser@cl.cam.ac.uk \
    --cc=doogie@brainfood.com \
    --cc=xen-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.