libtool
[Top][All Lists]
Advanced

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

Re: Convenieve libraries and applications.


From: Jacob Meuser
Subject: Re: Convenieve libraries and applications.
Date: Wed, 11 Aug 2004 19:55:06 -0700
User-agent: Mutt/1.4.2i

On Wed, Aug 11, 2004 at 07:07:37PM -0700, Howard Chu wrote:
> Carlo Wood wrote:
> 
> >On Wed, Aug 11, 2004 at 06:00:00PM -0700, Jacob Meuser wrote:
> >>On Wed, Aug 11, 2004 at 05:49:29PM -0700, Howard Chu wrote:
> >>>I think this is what the -export-dynamic flag is for.
> 
> >>I do believe that exports symbols from a shared lib.  He has static libs.
> 
> It should also export symbols from an application.

well, yes.  the question is where do the symbols come from, a
static archive or a shared archive.

> That or -dlopen-self 
> is usually needed. I use -export-dynamic when building OpenLDAP, for 
> similar reasons (various static libraries that are needed by dynamic 
> modules that slapd loads).

For slapd, doesn't symdummy.c actually hold dummy calls to the functions?

This is of course one way to make it work, to actually have the functions
in the exectuable.

But IMO libtool should be able to use --whole-archive/--no-whole-archive.

-- 
<address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]