On Jul 18, 1999, Petter Reinholdtsen <[EMAIL PROTECTED]> wrote:
> [Alexandre Oliva]
>> It is BeOS that doesn't support incomplete libraries, there's
>> nothing libtool can do until BeOS starts to support them.
> What do you mean by incomplete shared libraries?
A shared library that has undefined symbols, that must be supplied by
programs or other libraries, when a program is linked with it. Some
systems can't create such libraries.
There's another, not so strict, kind of incomplete library: one that
is linked with other shared library, and uses symbols from it, as
opposed to copying them.
> Could Japhar be restructured to work around the problem?
Yup. You'd have to link japhar with any library it might dlopen using
the -dlopen flag. So, when a dlopenable module cannot be constructed,
libtoll will create a static library and link the program with it,
generating a symbol table that can be used by libltdl or equivalent to
emulate dlopening.
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{dcc.unicamp.br,guarana.{org,com}} aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them