Thunk: Build Rust program to support Windows XP, Vista and more
9 days ago
- #Windows XP
- #VC-LTL
- #Thunk
- Thunk uses VC-LTL5 and YY-Thunks to build programs compatible with Windows XP.
- Steps to use Thunk include adding VC-LTL to the library search path and using YY-Thunks to remedy missing APIs on old platforms.
- Thunk does not guarantee program functionality or accuracy on old platforms; use at your own risk.
- Download VC-LTL5 and YY-Thunks binaries, unzip them, and set environment variables VC_LTL and YY_THUNKS.
- Install Thunk CLI via cargo, create a new project, and use Thunk commands to build for specific OS and architecture.
- Ensure command line tools curl and 7z are in PATH if VC_LTL and YY_THUNKS environment variables are not set.
- Add Thunk as a build dependency and create a build script to enable compatibility with Windows XP.
- Thunk supports various Windows versions including XP, Vista, 7, 8, and 10 for both x86 and x64 architectures.