On Apr 17, 2001, Chris Leishman <[EMAIL PROTECTED]> wrote:
> *** Warning: This library needs some functionality provided by
> extra/libextra.a.
> Unfortunately I can't get the application to load the libshared.a file
> as a dynamic module (not unsurprising). Even if I specify -dlopen on
> the command line it still barfs
How exactly are you specifying this flag, and what exactly happens?
> I'm just wondering why it can't just suck the object files out of the
> archive when linking the shared library?
Because they're likely to be non-PIC, and several platforms don't
support non-PIC in shared libraries. If Darwin does, all you have to
do is to post a patch that sets deplibs_check_method=pass_all.
> That seems to be how it works on other platforms.
You haven't tested on enough other platforms :-)
> Alternatively I can compile the subdir as a shared library, but that
> means I need to use inter library dependencies when module loading -
Compile it as a libtool convenience archive. That's exactly the
purpose of this feature.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool