Precompiled MinGW-w64 GCC toolchain for Linux, BSD, Haiku, and Android (Termux)
  • Shell 83.7%
  • C 8.2%
  • CMake 8.1%
Find a file
2026-04-16 14:09:53 -03:00
.github/workflows Fix missing libnss_db on glibc 2.15 2026-04-15 19:34:03 -03:00
patches Fix missing libnss_db on glibc 2.15 2026-04-15 23:37:10 -03:00
submodules Handle defined(MINGW) in the GCC wrapper 2026-04-16 02:27:24 -03:00
tools Export DLLTOOL and OBJDUMP in Autotools toolchains 2026-01-14 03:01:28 -03:00
.gitmodules Initial commit 2025-12-13 03:38:11 -03:00
build.sh Handle defined(MINGW) in the GCC wrapper 2026-04-16 14:09:53 -03:00
LICENSE Add ninja and yasm tools 2026-01-03 09:57:17 -03:00
README.md Update README 2026-01-03 09:57:17 -03:00
sysroot.sh Fix missing libnss_db on glibc 2.15 2026-04-15 19:37:36 -03:00

MinGW-w64

The official download page at https://www.mingw-w64.org/downloads lists several sources for prebuilt MinGW-w64 binaries for Linux. However, most of them are either outdated or tied to specific Linux distributions, making them non-portable.

After spending too much time searching for a toolchain that met my needs, I decided to build it myself. While I was at it, I also produced builds for macOS, BSD, Haiku, and Android.

Releases

The current release is based on GCC 15 and supports cross-compiling for the x86 and x86_64 targets. The toolchain includes support for the C and C++ frontends.

You can download the prebuilt toolchains from the releases page.