WinLibs (POSIX threads, MSVCRT runtime, LLVM included) logo

WinLibs (POSIX threads, MSVCRT runtime, LLVM included) Brecht Sanders

Use this command to install WinLibs (POSIX threads, MSVCRT runtime, LLVM included):
winget install --id=BrechtSanders.WinLibs.POSIX.MSVCRT.LLVM -e

In short: it's a free C and C++ compiler for Microsoft Windows. GCC (GNU Compiler Collection) is a free and open source compiler for C and C++ (and other languages like Objective-C, Fortran, D). MinGW-w64 is a free and open source C library for targetting Windows 32-bit and 64-bit platforms. The combination of these results in a free C/C++ compiler for Windows. Even though GCC and MinGW-w64 can be used on other platforms (e.g. Linux) to generate Windows executables, the WinLibs project only focusses on building versions that run natively on Windows. Also some additional tools are added, including: - GDB - the GNU Project debugger - GNU Binutils - a collection of binary tools - GNU Make - a tool which controls the generation of executables and other non-source files - Yasm - The Yasm Modular Assembler Project - NASM - The Netwide Assembler - JWasm - A free MASM-compatible assembler - LLVM/Clang/LLD/LLDB - The LLVM Compiler Infrastructure This is a standalone build, which means this download offers a complete compiler environment for Windows. In the future WinLibs plans to also release binary packages of many open source libraries and applications built with this compiler.

WinLibs is a free C/C++ compiler for Microsoft Windows, combining the GNU Compiler Collection (GCC) with MinGW-w64 to provide a complete development environment. Designed specifically for native Windows use, WinLibs offers developers a robust toolset to build applications targeting 32-bit and 64-bit platforms.

Key Features:

  • GCC support for C, C++, Fortran, D, and other languages.
  • POSIX threading library for cross-platform compatibility.
  • MSVCRT runtime library for broad Windows compatibility.
  • Additional tools including GDB debugger, GNU Binutils, Make, Yasm, NASM, JWasm, LLVM/Clang/LLD/LLDB, and more.
  • Standalone installation with no external dependencies.

Audience & Benefit: Ideal for developers on Windows seeking a free, open-source alternative to proprietary compilers. WinLibs is particularly useful for those transitioning from Microsoft Visual C++ or aiming to port software across platforms. Its comprehensive toolset enables efficient debugging, binary manipulation, and cross-platform development while supporting the latest C/C++ standards.

WinLibs can be installed via winget, ensuring a seamless setup process for developers on Windows.

Versions
14.2.0-19.1.7-12.0.0-r3
14.2.0-19.1.1-12.0.0-r2