Boost logo

Boost :

From: Markus Schoepflin (markus.schoepflin_at_[hidden])
Date: 2001-11-05 04:57:09

--- In boost_at_y..., "David Abrahams" <david.abrahams_at_r...> wrote:
> ----- Original Message -----
> From: "Thomas Witt" <witt_at_i...>
> > If we have some kind of smart name deduction, shouldn't it be
> > on windows?
> It's hard for me to say just what it should be. Your suggestion is
> easy to implement, if the consensus is that it's right. Do you feel
> that you have hit on the right approach?
> -Dave

Unix developers are used to just say -lm if they want libm.a. Windows
developers (at least MSVC users) are used to explicitly say
kernel32.lib or user32.lib. In other words, unix developers are used
to smart name deduction, windows developers are not.

On the other hand, if the build system supports windows and unix
platforms, you should be able to say <find-library>foo and it works
for unix and windows.

As LINK.EXE doesn't do any file name magic when looking for a file
(at least I couldn't find anything in the documentation) I think we
should append the lib extension.


Boost list run by bdawes at, gregod at, cpdaniel at, john at