On Sunday, 21 בSeptember 2008, Shachar Shemesh wrote: > I have a problem. The libtool/automake duo, in an attempt to educate the > developer crowed, forces you to create a library of the form > "libsomething.so.v.v.v" (where the v's are version numbers). It has no > other form. As far as standard libraries go, this is not such a huge > problem. It does become a problem in some border cases. > > Case in point: You want to develop a mozilla plugin. It is harmless but > makes no sense to have the plug-in's name begin with "lib". Also, if the > plugin's name does not end in ".so"
It's basically the same case as any dlopen'ed module, where the application may elect any name it likes, but with a (platform dependent) suffix (.so in the Linux case) Libtool has a standard '-module' option for this which is used during linking (--mode=link) and weirdly enough is passed as an argument *after* the gcc argument (but parsed and handled by libtool... hmmm). For the details you'd want to look at: info libtool dlopen building Hope it helps, -- Oron Peled Voice/Fax: +972-4-8228492 [EMAIL PROTECTED] http://www.actcom.co.il/~oron Promises are like babies: fun to make, but hell to deliver. -- Nadav Har'El ================================================================To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
