This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FW: libtool devel package still dll crippled.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]