
20 Jun
2005
20 Jun
'05
9:35 p.m.
Rene Rivera wrote:
Jonathan Turkanis wrote:
Hi,
What's the rationale for not prefixing shared libraries on Windows with "lib"?
1. It corresponds to how DLLs are specified to compilers, "-lboost_thread", on various platforms. On Unix the "lib*" is added for you, but on Windows it's not.
I'm not sure I buy this explantion, since "lib" is not added automatically for static libraries on Windows, but the build system adds it anyway.
2. There would otherwise not be any way to distinguish the import library file "boost_thread.lib" of the DLL from the static library of the same library, "libboost_thread.lib".
This makes sense. Thanks! Jonathan