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
> [EMAIL PROTECTED]
> http://lists.gnu.org/mailman/listinfo/libtool


_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to