xPack MinGW-w64 GCC v15.2.0-2 released
Version 15.2.0-2.1 is a maintenance release; it reverts to using the POSIX thread model on Windows.
The xPack MinGW-w64 GCC is a standalone cross-platform binary distribution of Mingw-w64 GCC.
There are separate binaries for Windows (x64), macOS (x64 and arm64) and GNU/Linux (x64 and arm64).
The main targets for the GNU/Linux Arm binaries are the Raspberry Pi class devices (aarch64 only; armv6 and armv7l are no longer supported).
Download
The binary files can be downloaded automatically with xpm or manually from GitHub Releases.
Prerequisites
- x64 Windows: Windows 7 with the Universal C Runtime (UCRT), Windows 8, Windows 10, Windows 11
- x64 macOS: 11.0 or later
- arm64 macOS: 11.0 or later
- x64 GNU/Linux: any system with GLIBC 2.28 or higher (like Ubuntu 20 or later, Debian 10 or later, RedHat 8 or later, Fedora 29 or later, etc)
- arm64 GNU/Linux: any system with GLIBC 2.28 or higher (like Raspberry Pi OS, Ubuntu 20 or later, Debian 10 or later, RedHat 8 or later, Fedora 29 or later, etc)
Install
The easiest way to install this specific version, is by using xpm:
xpm install @xpack-dev-tools/mingw-w64-gcc@15.2.0-2.1 -verbose
Comprehensive instructions for installing xPack xPack MinGW-w64 GCC on different platforms can be found in the Install Guide.
Compliance
The xPack MinGW-w64 GCC uses the official sources, with no functional changes:
- GCC 15.2.0
- binutils 2.45
- mingw-w64 13.0.0
Supported languages
The supported languages are:
- C
- C++
- Fortran
- Obj-C
- Obj-C++
- Fortran
Note: Obj-C/C++ support is minimalistic.
Changes
Compared to the upstream, there are no functional changes.
Compared to v15.2.0-1, this release reverts to using the POSIX thread model on Windows, since some projects, like GDB 16.3, fail with the win32 threading model.
Bug fixes
- none
Enhancements
- none
Known problems
Please see the separate tests results page.
Documentation
The original documentation is available from the project web site:
Build
The binaries for all supported platforms (Windows, macOS and GNU/Linux) were built using the xPack Build Box (XBB), a set of build environments based on slightly older distributions, that should be compatible with most recent systems.
For the prerequisites and more details on the build procedure, please see the Maintainer Info page.
CI tests
Before publishing, a set of simple tests were performed on an exhaustive set of platforms. The results are available from:
Tests
The binaries were tested on a variety of platforms, but mainly to check the integrity of the build, not the compiler functionality.
Checksums
The SHA-256 hashes for the files are:
c8fc4519e966678c47f150aba13f4ca7cea563806137c6486920ebcda3f991d7
xpack-mingw-w64-gcc-15.2.0-2-darwin-arm64.tar.gz
f82340a331b932bdb285ddd2d7861a1d5405c80ebf09dd3308aca60637ad418c
xpack-mingw-w64-gcc-15.2.0-2-darwin-x64.tar.gz
7c0a834acf1b33fd7f1931b3b2080c8eed2016fe85c183ccd0dbbe84d23df00a
xpack-mingw-w64-gcc-15.2.0-2-linux-arm64.tar.gz
daf373cbea59bb04cc610cdc26ef98828eb5c5eee3407d448d3b26272fa816d5
xpack-mingw-w64-gcc-15.2.0-2-linux-x64.tar.gz
0e541c0df2569b2593a39143b0512a1663827d0b9ee52b5f8c73dc67d03774c2
xpack-mingw-w64-gcc-15.2.0-2-win32-x64.zip
Folders hierarchy
After install, the package creates a hierarchy of folders like the following (only the first two depth levels are shown):
- Windows
- macOS
- GNU/Linux
C:> tree /f %USERPROFILE%\AppData\Roaming\xPacks\@xpack-dev-tools\mingw-w64-gcc\15.2.0-2.1\.content
Folder PATH listing
Volume serial number is B02D-925C
├├── README.md
├── bin
│ ├── i686-w64-mingw32-addr2line.exe
│ ├── i686-w64-mingw32-ar.exe
│ ├── i686-w64-mingw32-as.exe
│ ├── i686-w64-mingw32-c++.exe
│ ├── i686-w64-mingw32-c++filt.exe
│ ├── i686-w64-mingw32-cpp.exe
│ ├── i686-w64-mingw32-dlltool.exe
│ ├── i686-w64-mingw32-dllwrap.exe
│ ├── i686-w64-mingw32-elfedit.exe
│ ├── i686-w64-mingw32-g++.exe
│ ├── i686-w64-mingw32-gcc-15.2.0.exe
│ ├── i686-w64-mingw32-gcc-ar.exe
│ ├── i686-w64-mingw32-gcc-nm.exe
│ ├── i686-w64-mingw32-gcc-ranlib.exe
│ ├── i686-w64-mingw32-gcc.exe
│ ├── i686-w64-mingw32-gcov-dump.exe
│ ├── i686-w64-mingw32-gcov-tool.exe
│ ├── i686-w64-mingw32-gcov.exe
│ ├── i686-w64-mingw32-gendef.exe
│ ├── i686-w64-mingw32-gfortran.exe
│ ├── i686-w64-mingw32-gprof.exe
│ ├── i686-w64-mingw32-ld.bfd.exe
│ ├── i686-w64-mingw32-ld.exe
│ ├── i686-w64-mingw32-lto-dump.exe
│ ├── i686-w64-mingw32-nm.exe
│ ├── i686-w64-mingw32-objcopy.exe
│ ├── i686-w64-mingw32-objdump.exe
│ ├── i686-w64-mingw32-ranlib.exe
│ ├── i686-w64-mingw32-readelf.exe
│ ├── i686-w64-mingw32-size.exe
│ ├── i686-w64-mingw32-strings.exe
│ ├── i686-w64-mingw32-strip.exe
│ ├── i686-w64-mingw32-widl.exe
│ ├── i686-w64-mingw32-windmc.exe
│ ├── i686-w64-mingw32-windres.exe
│ ├── libatomic-1.dll
│ ├── libgcc_s_seh-1.dll
│ ├── libgfortran-5.dll
│ ├── libgmp-10.dll
│ ├── libgomp-1.dll
│ ├── libmpc-3.dll
│ ├── libmpfr-6.dll
│ ├── libquadmath-0.dll
│ ├── libssp-0.dll
│ ├── libstdc++-6.dll
│ ├── libzstd.dll
│ ├── x86_64-w64-mingw32-addr2line.exe
│ ├── x86_64-w64-mingw32-ar.exe
│ ├── x86_64-w64-mingw32-as.exe
│ ├── x86_64-w64-mingw32-c++.exe
│ ├── x86_64-w64-mingw32-c++filt.exe
│ ├── x86_64-w64-mingw32-cpp.exe
│ ├── x86_64-w64-mingw32-dlltool.exe
│ ├── x86_64-w64-mingw32-dllwrap.exe
│ ├── x86_64-w64-mingw32-elfedit.exe
│ ├── x86_64-w64-mingw32-g++.exe
│ ├── x86_64-w64-mingw32-gcc-15.2.0.exe
│ ├── x86_64-w64-mingw32-gcc-ar.exe
│ ├── x86_64-w64-mingw32-gcc-nm.exe
│ ├── x86_64-w64-mingw32-gcc-ranlib.exe
│ ├── x86_64-w64-mingw32-gcc.exe
│ ├── x86_64-w64-mingw32-gcov-dump.exe
│ ├── x86_64-w64-mingw32-gcov-tool.exe
│ ├── x86_64-w64-mingw32-gcov.exe
│ ├── x86_64-w64-mingw32-gendef.exe
│ ├── x86_64-w64-mingw32-gfortran.exe
│ ├── x86_64-w64-mingw32-gprof.exe
│ ├── x86_64-w64-mingw32-ld.bfd.exe
│ ├── x86_64-w64-mingw32-ld.exe
│ ├── x86_64-w64-mingw32-lto-dump.exe
│ ├── x86_64-w64-mingw32-nm.exe
│ ├── x86_64-w64-mingw32-objcopy.exe
│ ├── x86_64-w64-mingw32-objdump.exe
│ ├── x86_64-w64-mingw32-ranlib.exe
│ ├── x86_64-w64-mingw32-readelf.exe
│ ├── x86_64-w64-mingw32-size.exe
│ ├── x86_64-w64-mingw32-strings.exe
│ ├── x86_64-w64-mingw32-strip.exe
│ ├── x86_64-w64-mingw32-widl.exe
│ ├── x86_64-w64-mingw32-windmc.exe
│ └── x86_64-w64-mingw32-windres.exe
├── distro-info
│ └── licenses
├── i686-w64-mingw32
│ ├── bin
│ ├── include
│ └── lib
├── include
│ └── c++
├── lib
│ ├── gcc
│ ├── libatomic.a
│ ├── libatomic.dll.a
│ ├── libatomic.la
│ ├── libgcc_s.a
│ ├── libgcc_s_seh-1.dll
│ ├── libgfortran.a
│ ├── libgfortran.dll.a
│ ├── libgfortran.la
│ ├── libgfortran.spec
│ ├── libgomp.a
│ ├── libgomp.dll.a
│ ├── libgomp.la
│ ├── libgomp.spec
│ ├── libquadmath.a
│ ├── libquadmath.dll.a
│ ├── libquadmath.la
│ ├── libssp.a
│ ├── libssp.dll.a
│ ├── libssp.la
│ ├── libssp_nonshared.a
│ ├── libssp_nonshared.la
│ ├── libstdc++.a
│ ├── libstdc++.dll.a
│ ├── libstdc++.dll.a-gdb.py
│ ├── libstdc++.la
│ ├── libstdc++.modules.json
│ ├── libstdc++exp.a
│ ├── libstdc++exp.la
│ ├── libstdc++fs.a
│ ├── libstdc++fs.la
│ ├── libsupc++.a
│ └── libsupc++.la
├── share
│ └── gcc-15.2.0
└── x86_64-w64-mingw32
├── bin
├── include
└── lib
17 directories, 114 files
$ tree -L 2 ~/Library/xPacks/@xpack-dev-tools/mingw-w64-gcc/15.2.0-2.1/.content/
/Users/ilg/Library/xPacks/@xpack-dev-tools/mingw-w64-gcc/15.2.0-2.1/.content/
├── bin
│ ├── i686-w64-mingw32-addr2line
│ ├── i686-w64-mingw32-ar
│ ├── i686-w64-mingw32-as
│ ├── i686-w64-mingw32-c++
│ ├── i686-w64-mingw32-c++filt
│ ├── i686-w64-mingw32-cpp
│ ├── i686-w64-mingw32-dlltool
│ ├── i686-w64-mingw32-dllwrap
│ ├── i686-w64-mingw32-elfedit
│ ├── i686-w64-mingw32-g++
│ ├── i686-w64-mingw32-gcc
│ ├── i686-w64-mingw32-gcc-15.2.0
│ ├── i686-w64-mingw32-gcc-ar
│ ├── i686-w64-mingw32-gcc-nm
│ ├── i686-w64-mingw32-gcc-ranlib
│ ├── i686-w64-mingw32-gcov
│ ├── i686-w64-mingw32-gcov-dump
│ ├── i686-w64-mingw32-gcov-tool
│ ├── i686-w64-mingw32-gendef
│ ├── i686-w64-mingw32-gfortran
│ ├── i686-w64-mingw32-gprof
│ ├── i686-w64-mingw32-ld
│ ├── i686-w64-mingw32-ld.bfd
│ ├── i686-w64-mingw32-lto-dump
│ ├── i686-w64-mingw32-nm
│ ├── i686-w64-mingw32-objcopy
│ ├── i686-w64-mingw32-objdump
│ ├── i686-w64-mingw32-ranlib
│ ├── i686-w64-mingw32-readelf
│ ├── i686-w64-mingw32-size
│ ├── i686-w64-mingw32-strings
│ ├── i686-w64-mingw32-strip
│ ├── i686-w64-mingw32-widl
│ ├── i686-w64-mingw32-windmc
│ ├── i686-w64-mingw32-windres
│ ├── x86_64-w64-mingw32-addr2line
│ ├── x86_64-w64-mingw32-ar
│ ├── x86_64-w64-mingw32-as
│ ├── x86_64-w64-mingw32-c++
│ ├── x86_64-w64-mingw32-c++filt
│ ├── x86_64-w64-mingw32-cpp
│ ├── x86_64-w64-mingw32-dlltool
│ ├── x86_64-w64-mingw32-dllwrap
│ ├── x86_64-w64-mingw32-elfedit
│ ├── x86_64-w64-mingw32-g++
│ ├── x86_64-w64-mingw32-gcc
│ ├── x86_64-w64-mingw32-gcc-15.2.0
│ ├── x86_64-w64-mingw32-gcc-ar
│ ├── x86_64-w64-mingw32-gcc-nm
│ ├── x86_64-w64-mingw32-gcc-ranlib
│ ├── x86_64-w64-mingw32-gcov
│ ├── x86_64-w64-mingw32-gcov-dump
│ ├── x86_64-w64-mingw32-gcov-tool
│ ├── x86_64-w64-mingw32-gendef
│ ├── x86_64-w64-mingw32-gfortran
│ ├── x86_64-w64-mingw32-gprof
│ ├── x86_64-w64-mingw32-ld
│ ├── x86_64-w64-mingw32-ld.bfd
│ ├── x86_64-w64-mingw32-lto-dump
│ ├── x86_64-w64-mingw32-nm
│ ├── x86_64-w64-mingw32-objcopy
│ ├── x86_64-w64-mingw32-objdump
│ ├── x86_64-w64-mingw32-ranlib
│ ├── x86_64-w64-mingw32-readelf
│ ├── x86_64-w64-mingw32-size
│ ├── x86_64-w64-mingw32-strings
│ ├── x86_64-w64-mingw32-strip
│ ├── x86_64-w64-mingw32-widl
│ ├── x86_64-w64-mingw32-windmc
│ └── x86_64-w64-mingw32-windres
├── distro-info
│ └── licenses
├── i686-w64-mingw32
│ ├── bin
│ ├── include
│ └── lib
├── include
├── lib
│ ├── gcc
│ ├── libcc1.0.so
│ ├── libcc1.a
│ ├── libcc1.la
│ └── libcc1.so -> libcc1.0.so
├── libexec
│ ├── libc++.1.0.dylib
│ ├── libc++abi.1.0.dylib
│ ├── libgmp.10.dylib
│ ├── libiconv.2.dylib
│ ├── libisl.23.dylib
│ ├── libmpc.3.dylib
│ ├── libmpfr.6.dylib
│ ├── libunwind.1.0.dylib
│ ├── libz.1.3.1.dylib
│ ├── libz.1.dylib -> libz.1.3.1.dylib
│ ├── libzstd.1.5.7.dylib
│ └── libzstd.1.dylib -> libzstd.1.5.7.dylib
├── README.md
├── share
│ └── gcc-15.2.0
└── x86_64-w64-mingw32
├── bin
├── include
└── lib
18 directories, 87 files
$ tree -L 2 ~/.local/xPacks/@xpack-dev-tools/mingw-w64-gcc/15.2.0-2.1/.content/
/home/ilg/.local/xPacks/@xpack-dev-tools/mingw-w64-gcc/15.2.0-2.1/.content/
├── README.md
├── bin
│ ├── i686-w64-mingw32-addr2line
│ ├── i686-w64-mingw32-ar
│ ├── i686-w64-mingw32-as
│ ├── i686-w64-mingw32-c++
│ ├── i686-w64-mingw32-c++filt
│ ├── i686-w64-mingw32-cpp
│ ├── i686-w64-mingw32-dlltool
│ ├── i686-w64-mingw32-dllwrap
│ ├── i686-w64-mingw32-elfedit
│ ├── i686-w64-mingw32-g++
│ ├── i686-w64-mingw32-gcc
│ ├── i686-w64-mingw32-gcc-15.2.0
│ ├── i686-w64-mingw32-gcc-ar
│ ├── i686-w64-mingw32-gcc-nm
│ ├── i686-w64-mingw32-gcc-ranlib
│ ├── i686-w64-mingw32-gcov
│ ├── i686-w64-mingw32-gcov-dump
│ ├── i686-w64-mingw32-gcov-tool
│ ├── i686-w64-mingw32-gendef
│ ├── i686-w64-mingw32-gfortran
│ ├── i686-w64-mingw32-gprof
│ ├── i686-w64-mingw32-ld
│ ├── i686-w64-mingw32-ld.bfd
│ ├── i686-w64-mingw32-lto-dump
│ ├── i686-w64-mingw32-nm
│ ├── i686-w64-mingw32-objcopy
│ ├── i686-w64-mingw32-objdump
│ ├── i686-w64-mingw32-ranlib
│ ├── i686-w64-mingw32-readelf
│ ├── i686-w64-mingw32-size
│ ├── i686-w64-mingw32-strings
│ ├── i686-w64-mingw32-strip
│ ├── i686-w64-mingw32-widl
│ ├── i686-w64-mingw32-windmc
│ ├── i686-w64-mingw32-windres
│ ├── x86_64-w64-mingw32-addr2line
│ ├── x86_64-w64-mingw32-ar
│ ├── x86_64-w64-mingw32-as
│ ├── x86_64-w64-mingw32-c++
│ ├── x86_64-w64-mingw32-c++filt
│ ├── x86_64-w64-mingw32-cpp
│ ├── x86_64-w64-mingw32-dlltool
│ ├── x86_64-w64-mingw32-dllwrap
│ ├── x86_64-w64-mingw32-elfedit
│ ├── x86_64-w64-mingw32-g++
│ ├── x86_64-w64-mingw32-gcc
│ ├── x86_64-w64-mingw32-gcc-15.2.0
│ ├── x86_64-w64-mingw32-gcc-ar
│ ├── x86_64-w64-mingw32-gcc-nm
│ ├── x86_64-w64-mingw32-gcc-ranlib
│ ├── x86_64-w64-mingw32-gcov
│ ├── x86_64-w64-mingw32-gcov-dump
│ ├── x86_64-w64-mingw32-gcov-tool
│ ├── x86_64-w64-mingw32-gendef
│ ├── x86_64-w64-mingw32-gfortran
│ ├── x86_64-w64-mingw32-gprof
│ ├── x86_64-w64-mingw32-ld
│ ├── x86_64-w64-mingw32-ld.bfd
│ ├── x86_64-w64-mingw32-lto-dump
│ ├── x86_64-w64-mingw32-nm
│ ├── x86_64-w64-mingw32-objcopy
│ ├── x86_64-w64-mingw32-objdump
│ ├── x86_64-w64-mingw32-ranlib
│ ├── x86_64-w64-mingw32-readelf
│ ├── x86_64-w64-mingw32-size
│ ├── x86_64-w64-mingw32-strings
│ ├── x86_64-w64-mingw32-strip
│ ├── x86_64-w64-mingw32-widl
│ ├── x86_64-w64-mingw32-windmc
│ └── x86_64-w64-mingw32-windres
├── distro-info
│ └── licenses
├── i686-w64-mingw32
│ ├── bin
│ ├── include
│ └── lib
├── include
├── lib
│ └── gcc
├── lib64
│ ├── libcc1.a
│ ├── libcc1.la
│ ├── libcc1.so -> libcc1.so.0.0.0
│ ├── libcc1.so.0 -> libcc1.so.0.0.0
│ └── libcc1.so.0.0.0
├── libexec
│ ├── libfl.so.2 -> libfl.so.2.0.0
│ ├── libfl.so.2.0.0
│ ├── libgcc_s.so.1
│ ├── libgmp.so.10 -> libgmp.so.10.5.0
│ ├── libgmp.so.10.5.0
│ ├── libiconv.so.2 -> libiconv.so.2.7.0
│ ├── libiconv.so.2.7.0
│ ├── libisl.so.23 -> libisl.so.23.4.0
│ ├── libisl.so.23.4.0
│ ├── libmpc.so.3 -> libmpc.so.3.3.1
│ ├── libmpc.so.3.3.1
│ ├── libmpfr.so.6 -> libmpfr.so.6.2.2
│ ├── libmpfr.so.6.2.2
│ ├── libstdc++.so.6 -> libstdc++.so.6.0.33
│ ├── libstdc++.so.6.0.33
│ ├── libz.so.1 -> libz.so.1.3.1
│ ├── libz.so.1.3.1
│ ├── libzstd.so.1 -> libzstd.so.1.5.7
│ └── libzstd.so.1.5.7
├── share
│ └── gcc-15.2.0
└── x86_64-w64-mingw32
├── bin
├── include
└── lib
18 directories, 95 files
Deprecation notices
GNU/Linux minimum requirements
The minimum requirement is GLIBC 2.28, available starting with Ubuntu 20, Debian 10 and RedHat 8. Support for RedHat 7 was dropped in 2022. Support for Ubuntu 18 was dropped in 2025.
32-bit support
Support for 32-bit x64 GNU/Linux and x64 Windows was dropped in 2022 and for 32-bit Arm GNU/Linux in 2025.
Pre-deprecation notice for x64 macOS
Apple has discontinued support for the x64 (Intel) architecture. GitHub will no longer support this architecture on macOS after the macOS 15 runner image is retired in November 2027; building and testing x64 macOS binaries will become more difficult, requiring a self-hosted runner, and cannot be guaranteed in the long term.
You should begin migrating your projects to arm64-based (Apple Silicon) binaries to prepare for this possible deprecation.
Analytics
- GitHub xpack-dev-tools/mingw-w64-gcc-xpack
- this release
- all xPack releases
- individual file counters (grouped by release)
- this release
- npmjs.com @xpack-dev-tools/mingw-w64-gcc
Credit to Shields IO for the badges and to Somsubhra/github-release-stats for the individual file counters.