# mstorsjo/llvm-mingw

An LLVM/Clang/LLD based mingw-w64 toolchain

Repository: https://github.com/mstorsjo/llvm-mingw
Canonical: https://ross.abutalabs.com/products/llvm-mingw
Language: C
License: NOASSERTION
License Family: other
Last push: 2026-08-26T20:43:19+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 3201, "days_push": 7, "days_rel": 7, "gap_med": 14, "n_releases_24m": 36}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2933, forks 271 (observed 2026-08-28T04:07:30.755851+00:00)

## What it is
A reproducibly built LLVM/Clang/LLD based mingw-w64 toolchain for compiling Windows binaries. It provides cross-compilers and native toolchains targeting i686, x86_64, armv7, and arm64 Windows, with prebuilt releases and Docker images.

## Use cases
- cross-compile windows binaries from linux
- build windows apps for arm64
- compile c/c++ for windows with clang
- generate pdb debug info with mingw
- use address sanitizer in mingw builds
- single toolchain for all windows architectures

## When to choose
- you need to target windows on arm or arm64
- you want one toolchain covering i686, x86_64, armv7, and arm64
- you need pdb debug info or asan/ubsan in a mingw build
- you prefer llvm tooling over gcc-based mingw

## When to avoid
- you need gcc-specific extensions or a gcc-compatible toolchain
- you target only one architecture and already have a working gcc mingw setup
- you need msvc-compatible tooling rather than mingw

## Facets
- artifact type: cli-tool
- maturity: active
- function: compiler, build-tool, developer-tools
- domain: developer-tools, compilers, cross-platform, windows
- platform: windows, cli
- tags: mingw-w64, llvm, clang, cross-compilation, toolchain, windows-on-arm, linux, macos, docker

## Member repositories
- mstorsjo/llvm-mingw (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:30.755851+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-30T07:33:22.753125+00:00, confidence not recorded.
  - readme: https://github.com/mstorsjo/llvm-mingw (fetched 2026-08-28T04:07:30.755851+00:00, sha 1ac5e970d3ae)
- Data as of 2026-08-30T08:39:29.467469+00:00.
