# mstorsjo/msvc-wine

Scripts for setting up and running MSVC in Wine on Linux

Repository: https://github.com/mstorsjo/msvc-wine
Canonical: https://ross.abutalabs.com/products/msvc-wine
Language: Shell
License: NOASSERTION
License Family: other
Last push: 2026-05-24T14:51:32+00:00

## Health v2 (maintenance only)
Score: 70/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 84, release rhythm 35, longevity 100
- inputs: {"age_days": 2870, "days_push": 101, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1347, forks 119 (observed 2026-08-28T04:04:27.600827+00:00)

## What it is
A set of shell and Python scripts that download, unpack, and wrap Microsoft Visual C++ and the Windows SDK so they run under Wine on Linux. It enables transparent MSVC-based cross-compilation from Unix build tools, or use of the unpacked headers/libs with clang-cl without Wine.

## Use cases
- cross-compile Windows binaries with MSVC from Linux
- set up MSVC and Windows SDK headers and libraries without a Windows machine
- use clang-cl with official MSVC headers and libraries
- build a CMake project targeting Windows using cl.exe under Wine
- create a reproducible Docker image with an MSVC toolchain

## When to choose
- you need genuine MSVC toolchain behavior (cl.exe) while building on Linux
- you want MSVC/WinSDK headers and libraries for clang-cl cross-compilation
- you need a scriptable, license-compliant way to fetch Visual Studio build tools

## When to avoid
- you only need MinGW/GCC-based cross-compilation, which needs no Wine
- you require redistributable toolchain artifacts - MSVC is non-redistributable
- you develop natively on Windows and don't need cross-compilation

## Facets
- artifact type: cli-tool
- maturity: active
- function: compiler, developer-tools, build-tool
- domain: developer-tools, cross-platform, windows
- platform: cli, python
- tags: msvc, wine, cross-compilation, windows-sdk, clang-cl, cmake, linux, docker

## Member repositories
- mstorsjo/msvc-wine (main) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:27.600827+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:42:37.634217+00:00, confidence not recorded.
  - readme: https://github.com/mstorsjo/msvc-wine (fetched 2026-08-28T04:04:27.600827+00:00, sha 27e9cc24ffeb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
