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 18:00:00 -0700
User-agent: Mutt/1.4.2i

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.

whole_archive_flag_spec is the variable in libtool to look at, but
that's about all I know about it.

> 
> Carlo Wood wrote:
> 
> >I have a normal application (not a shared library thus) which
> >uses convenience libraries in subdirectories.
> >
> >This application also uses libltdl - in order to load modules.
> >These modules needs to resolve symbols from the application,
> >symbols that are in fact in the convenience libraries.
> >
> >The application itself doesn't use these symbols.
> >As a result - the symbols are not put into the application!
> >And loading the modules fails (or at least, calling the
> >missing functions fails).
> >
> >What is needed here is obvious: I need to link the application
> >with the --whole-archive/--no-whole-archive linker flags
> >around the convenience libraries.
> >
> >But, libtool doesn't let me do that :/
> -- 
>   -- Howard Chu
>   Chief Architect, Symas Corp.       Director, Highland Sun
>   http://www.symas.com               http://highlandsun.com/hyc
>   Symas: Premier OpenSource Development and Support
> 
> 
> _______________________________________________
> Libtool mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/libtool




reply via email to

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