Boost logo

Boost :

Subject: Re: [boost] [winapi] Default target Windows version
From: Lars Viklund (zao_at_[hidden])
Date: 2013-10-26 19:19:14


On Sun, Oct 27, 2013 at 01:34:03AM +0400, Sergey Cheban wrote:
> 27.10.2013 1:06, Lars Viklund пишет:
>
>> It might be quite possible that some of it is completely ineffective,
>> but the end result is that I can deploy software linked against static
>> Boost libraries to XP.
> That's because static libraries do not contain CRT and because they
> currently do not use _WIN32_WINNT. If they did, you would probably have
> libraries compatible only with windows 8.
>
>> I believe some of those environment variables are honored by the tools
>> internally (INCLUDE/LIB/LINK/CL).
>>
>> In any way, it "works" for some particular definition of "works". My
>> DLLs end up with the right subsystem version, for example.
> Do you use boost.build to make your DLLs?

It seems like the core of my message didn't get through. _If_ I do not
do this, the resulting libraries will cause my application to not load.

Whatever I use to build my own code (CMake, -T v120_xp) is irrelephant.

-- 
Lars Viklund | zao_at_[hidden]

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