Skip to content

How to Set Up MSVC Toolchain for Targeting Windows XP (32-bit) on Windows 11? #45

Answered by seritools
armed asked this question in Q&A
Discussion options

You must be logged in to vote

I tried GUI based tool called vs_BuildTools.exe it downloads and installs bunch of stuff everywhere.

yup, installing the XP-supporting toolset should work for this. The relevant files should then be:

  • Windows 7 SDK files installed with it, in C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib.
  • The toolset files for the v141 toolset, for me it's in C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.16.27023\lib\x86\

e.g. X:\rustprojs\rust9x\r9x-buildtools\vc71\Vc7\PlatformSDK\Lib.

that's VS2003 files copied over from an actual installation I did in a WinXP VM before.

Is there a standalone version of all the required MSVC build tools available, perhaps as an…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@armed
Comment options

Answer selected by armed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants