Download Latest Version gcc-15.2.0-gdb-16.3.90.20250511-binutils-2.45-mingw-w64-v13.0.0-ucrt.7z (81.8 MB)
Email in envelope

Get an email when there's a new version of gcc-win64

Home / Linux / 15.2.0
Name Modified Size InfoDownloads / Week
Parent folder
gcc-15.2.0-binutils-2.45-linux-4.19.325-musl-1.2.5-x86_64.exe 2025-10-25 33.6 MB
gcc-15.2.0-binutils-2.45-linux-4.19.325-musl-1.2.5-aarch64.exe 2025-10-25 31.3 MB
gcc-15.2.0-binutils-2.45-linux-4.19.325-musl-1.2.5-i686.exe 2025-10-25 33.6 MB
Totals: 3 Items   98.5 MB 163

Linux Cross Build Chain

C/C++ cross-compiler for Windows targeting Linux using (unofficial build):
- gmp
- mpfr
- mpc
- isl
- cloog
- mingw-w64
- gcc
- lib-musl
- Kernel headers

You need at least core2 command set support to run this application.

This toolchain is still experimental. Expect errors and undefined behaviors.

Usage

This cross-compiler toolchain works very much like the native MinGW-W64 one. However, it comes with the following caveats:
- There is no -m32/-m64 switch. Use the specific toolchain by using a different executable prefix.
- A static build is self-constrained and has no dependencies on any Linux libraries. It can run on any Linux distribution that has a compatible CPU and Kernel version.
- The static build cannot load any shared objects due to the missing dynamic linker.
- A special static built with included dynamic linker is created if neither -fsys-dyn-linker nor -static or -shared is passed. Shared libraries within {arch}-linux-musl/libexec need to be shipped together with the final executable in the same folder in this case. The libc-{arch}.so acts as dynamic linker.
- The system dynamic linker can be chosen by passing -fsys-dyn-linker to gcc/g++ during linking. Verify it via readelf -p .interp my-executable. No .interp section is created in the other cases.

File System Limitations

The toolchain can only be extracted to an NTFS partition on Windows 10 or later.
This limitation exists because some Linux header files share directory locations but differ only by case (uppercase/lowercase filenames). The included SFX archive uses a modified 7‑Zip module to set case sensitivity in the target directory.

Source: README.md, updated 2025-10-25