MartinStorsjo.LLVM-MinGW.MSVCRTAn LLVM/Clang/LLD based mingw-w64 toolchain, with MSVCRT runtime library
$ winget install --id MartinStorsjo.LLVM-MinGW.MSVCRT --exact --version 22.1.4-20260421Run in Command Prompt, PowerShell, or Windows Terminal. Prompts for any agreements.
For Intune admins
Automated application patching for Microsoft Intune. Pckgr keeps a curated library of 1,000+ apps continuously up-to-date in your tenant via Microsoft Graph — no manual repackaging, no chasing vendor sites.
See Pckgr's app libraryThis 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.
Copy a command tailored to that specific architecture, type, and scope - useful when winget would otherwise pick a different default.