From: Dennis Luehring (dl.soluz_at_[hidden])
Date: 2025-04-03 08:03:53


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)

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?

thanks for any help