Skip to main content

xPack xPack GCC v12.5.0-1 released

· 7 min read

Version 12.5.0-1.1 is a new release; it follows the official GNU GCC release.

The xPack GCC is a standalone cross-platform binary distribution of GCC.

There are separate binaries for Windows (x64), macOS (x64 and arm64) and GNU/Linux (x64 and arm64).

Raspberry Pi

The main targets for the GNU/Linux Arm binaries are the Raspberry Pi class devices (aarch64; armv7l and armv6 are not 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 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/gcc@12.5.0-1.1 -verbose

Comprehensive instructions for installing xPack xPack GCC on different platforms can be found in the Install Guide.

Compliance

The xPack GCC uses the official sources, with no functional changes:

  • GCC 12.5.0
  • binutils 2.45
  • mingw-w64 13.0.0
  • gdb 16.3

Supported languages

The supported languages are:

  • C
  • C++
  • Obj-C
  • Obj-C++
  • Fortran

Note: Obj-C/C++ support is minimalistic.

Starting with 12.2.0-2, support for 32-bit multilib was added on Intel Linux; it can be enabled via the -m32 compile option.

Changes

Compared to the upstream, there are no functional changes.

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:

053c2bf39df5fa49646d5e83b52cda06b5a16b63da22d518092dd2b9f9291760
xpack-gcc-12.5.0-1-linux-arm64.tar.gz

b6d99fc0c66261cfca90d8b765c6cdbe11f358fb28fd503672d1d2b324424872
xpack-gcc-12.5.0-1-linux-x64.tar.gz

7a223780d31b9a14dfc62e50e403d75cc69e4f7b69de793e5911cdc2f8daa6de
xpack-gcc-12.5.0-1-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):

C:> tree /f %USERPROFILE%\AppData\Roaming\xPacks\@xpack-dev-tools\gcc\12.5.0-1.1\.content
Folder PATH listing
Volume serial number is B02D-925C
├── README.md
├── bin
│ ├── addr2line.exe
│ ├── ar.exe
│ ├── as.exe
│ ├── c++.exe
│ ├── c++filt.exe
│ ├── cpp.exe
│ ├── dlltool.exe
│ ├── dllwrap.exe
│ ├── elfedit.exe
│ ├── g++.exe
│ ├── gcc-ar.exe
│ ├── gcc-nm.exe
│ ├── gcc-ranlib.exe
│ ├── gcc.exe
│ ├── gcov-dump.exe
│ ├── gcov-tool.exe
│ ├── gcov.exe
│ ├── gdb-add-index
│ ├── gdb.exe
│ ├── gendef.exe
│ ├── gfortran.exe
│ ├── gprof.exe
│ ├── gstack
│ ├── ld.bfd.exe
│ ├── ld.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
│ ├── lto-dump.exe
│ ├── nm.exe
│ ├── objcopy.exe
│ ├── objdump.exe
│ ├── ranlib.exe
│ ├── readelf.exe
│ ├── size.exe
│ ├── strings.exe
│ ├── strip.exe
│ ├── widl.exe
│ ├── windmc.exe
│ └── windres.exe
├── distro-info
│ └── licenses
├── include
│ ├── c++
│ └── gdb
├── lib
│ ├── gcc
│ ├── libatomic-1.dll
│ ├── libatomic.a
│ ├── libatomic.dll.a
│ ├── libatomic.la
│ ├── libgcc_s.a
│ ├── libgcc_s_seh-1.dll
│ ├── libgfortran-5.dll
│ ├── libgfortran.a
│ ├── libgfortran.dll.a
│ ├── libgfortran.la
│ ├── libgfortran.spec
│ ├── libgomp-1.dll
│ ├── libgomp.a
│ ├── libgomp.dll.a
│ ├── libgomp.la
│ ├── libgomp.spec
│ ├── libobjc-4.dll
│ ├── libquadmath-0.dll
│ ├── libquadmath.a
│ ├── libquadmath.dll.a
│ ├── libquadmath.la
│ ├── libssp-0.dll
│ ├── libssp.a
│ ├── libssp.dll.a
│ ├── libssp.la
│ ├── libssp_nonshared.a
│ ├── libssp_nonshared.la
│ ├── libstdc++-6.dll
│ ├── libstdc++.a
│ ├── libstdc++.dll.a
│ ├── libstdc++.dll.a-gdb.py
│ ├── libstdc++.la
│ ├── libstdc++fs.a
│ ├── libstdc++fs.la
│ ├── libsupc++.a
│ └── libsupc++.la
├── libexec
│ └── gcc
├── share
│ ├── gcc-12.5.0
│ └── gdb
└── x86_64-w64-mingw32
├── bin
├── include
└── lib

17 directories, 85 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

Credit to Shields IO for the badges and to Somsubhra/github-release-stats for the individual file counters.