FW: libtool devel package still dll crippled.

Ralf Habacker Ralf.Habacker@freenet.de
Thu Apr 18 13:14:00 GMT 2002


Hi Waldo,

currently some guys are porting libtool to cygwin and have troubles with static
libs in multiple dll's and they like to hear how this is solved in linux.
Perhaps if you can't answer these question, please send it to somebody who can.

1. When someone build a shared lib on linux and uses a static lib, are the
symbols of the static lib automatically  exported ?

2a. If yes, and if someone build a second dll with the same static lib, the
symbols of the static libs are in both
shared lib defined. Then if someone uses these two shared libs to build for
example an application, ld fails with duplicated symbol errors. How does ld
prevent this ?

2b If no, that means that the static lib in 1. is used only for resolving
undefined symbols in the shared lib.
If someone likes to build some static sublibs like kicker does and builds a
shared dll with them, how does ld ensure, that the static libs symbols are
exported ?

Thanks for answering.

BTW: QT3 is just ported to cygwin.

Regards

Ralf



More information about the Cygwin-apps mailing list