Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-06-20 16:35:36


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk