Boost logo

Boost :

From: Georg Gast (georg_at_[hidden])
Date: 2025-04-03 12:54:53


Am Donnerstag, dem 03.04.2025 um 10:03 +0200 schrieb Dennis Luehring
via Boost:
> i want to migrate an old dirty legacy app handling TCP/IP to
Boost.Asio
> because all my other TCP/IP stuff is using Asio and the legacy app
> getting reworked
>
> BUT it still needs to run on old dirty Windows XP - for around 1-2
years
> (then i can upgrade to more recent compiler/Boost etc.)
>
>
> i know that i had used Boost (i think 1.69) on XP a long time ago and
> trying to find out what Boost version is the last XP supporting and
> how i can build boost from source with VS2022 + v141_xp toolkit (if
that
> is even possible - i have no idea)
>
>
We use 1.82.0 with VS 2019/2022 and Windows XP. AFAIK 1.81.0 is ok
without a patch.

We use the v141_xp toolkit.

> im using boost on daily basis and build for Linux,Windows for over a
> decade so its just the Windows XP thing that makes mit nervous
>
>
> tried building Boost 1.69 seems to be possible with VS2022 x86
console
> with v141_xp toolkit installed (not tested with XP so far)
>
>
> boostrap.bat vc141
>
>
> and i think that is minimal needed for Asio
>
>
> b2 release toolset=msvc-14.1 define=BOOST_USE_WINAPI_VERSION=0x0501
> --with-system --with-thread --with-date_time --with-regex
> --with-serialization stage
>
>
> toolset can be set to anything currently (even msvc-14.1_xp or
> msv-14.1_blabla) so im not sure what i really need to force using the
> v141_xp toolkit
>
>
>
> so what is the latest Boost version that supports XP enough for Asio
use
> and how to build that one properbly?
>
>

The mentioned patch was to make boost::filesystem and boost::log
possible for WinXP. It is mentioned here on github:
https://github.com/boostorg/system/issues/113

Also the build script is available there.


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