LLVM MinGW (MSVCRT runtime)

LLVM MinGW (MSVCRT runtime) 23.1.3-20261006

An LLVM/Clang/LLD based mingw-w64 toolchain, with MSVCRT runtime library

  • By Martin Storsjö
  • Open Source
  • Updated Oct 7, 2026
Download for Windows

About LLVM MinGW (MSVCRT runtime)

This is a recipe for reproducibly building a LLVM/Clang/LLD based mingw-w64 toolchain.
Benefits of a LLVM based MinGW toolchain are:
- Support for targeting ARM/ARM64 (while GCC obviously does support these architectures, it doesn't support Windows on ARM)
- A single toolchain targeting all four architectures (i686, x86_64, armv7 and arm64) instead of separate compiler binaries for each architecture
- Support for generating debug info in PDB format
- Support for Address Sanitizer and Undefined Behaviour Sanitizer
- Since LLVM 16: Support for Control Flow Guard (-mguard=cf compile and link flags)
Clang on its own can also be used as compiler in the normal GNU binutils based environments though, so the main difference lies in replacing binutils with LLVM based tools.

Technical details

PublisherMartin Storsjö
Version23.1.3-20261006
Release date2026-10-07
LicenseISC
Installer typezip
Architecturex86, x64
Package IDMartinStorsjo.LLVM-MinGW.MSVCRT

Links & install command

Install LLVM MinGW (MSVCRT runtime) from the command line with Windows Package Manager (winget):

winget install --id=MartinStorsjo.LLVM-MinGW.MSVCRT -e

binutilscc++clangcompilercppgccllvmmakemingwmingw-w64

Older versions

  • 23.1.2-20260922
  • 23.1.1-20260908
  • 23.1.0-20260826
  • 22.1.8-20260616
  • 22.1.7-20260602
  • 22.1.6-20260519
  • 22.1.5-20260505
  • 22.1.4-20260421
  • 22.1.3-20260407