Boost logo

Boost :

Subject: Re: [boost] Default variants on windows
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-04-11 10:39:38


AMDG

Thomas Klimpel wrote:
> Vladimir Prus wrote:
>
>> Thanks everybody for the feedback. I think that conclusions are:
>>
>> 1. Autolink defaults to static linking, and it's best if
>> default build of Boost match autolink default, so I'll change
>> Jamroot to build static libraries by default on windows.
>>
>
> I understood it differently: Autolink doesn't default to anything, but simply does what is specified by the linker options. If my understanding is correct, the statement "Autolink defaults to..." is at least misleading.
>

Either BOOST_<library name>_DYN_LINK or BOOST_ALL_DYN_LINK
must be defined to get dynamic linking. No macro means static linking.

In Christ,
Steven Watanabe


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