xPack GCC v13.3.0-2 released
Version 13.3.0-2.1 is a maintenance release; it fixes the
unintended dependency on libiconv.so.2
.
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, arm64 and arm).
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@13.3.0-2.1 -verbose
Comprehensive instructions for installing 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 13.3.0
- binutils 2.42
- mingw-w64 12.0.0
- gdb 14.2
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
- [#9]:
due to an issue with the build scripts, in the previous releases
(14.2.0-1, 13.3.0-1, 12.4.0-1, 11.5.0-1)
libstdc++.so.6
has an unintended dependency onlibiconv.so.2
, which may be absent in some configurations; fixed.
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:
6016b12bfb5345be3f997e1ad313c49e9c9e8feab1722dbb96d34b6f513dcc8d
xpack-gcc-13.3.0-2-linux-arm64.tar.gz
a3bf33a3299b17730ce7a24912729830219e0a8db1e8170e6931e0ff46ec3bce
xpack-gcc-13.3.0-2-linux-x64.tar.gz
9f31c74131fdd3be6f9eae334947c478a309e96f31b23412478558bd870f40ae
xpack-gcc-13.3.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
- GNU/Linux
C:> tree /f %USERPROFILE%\AppData\Roaming\xPacks\@xpack-dev-tools\gcc\13.3.0-2.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
│ ├── 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++_libbacktrace.a -> libstdc++exp.a
│ ├── libstdc++exp.a
│ ├── libstdc++exp.la
│ ├── libstdc++fs.a
│ ├── libstdc++fs.la
│ ├── libsupc++.a
│ └── libsupc++.la
├── libexec
│ └── gcc
├── share
│ ├── gcc-13.3.0
│ └── gdb
└── x86_64-w64-mingw32
├── bin
├── include
└── lib
17 directories, 87 files
$ tree -L 2 ~/.local/xPacks/@xpack-dev-tools/gcc/13.3.0-2.1/.content/
/home/ilg/.local/xPacks/@xpack-dev-tools/gcc/13.3.0-2.1/.content/
├── README.md
├── bin
│ ├── addr2line
│ ├── ar
│ ├── as
│ ├── c++
│ ├── c++filt
│ ├── cpp
│ ├── dwp
│ ├── elfedit
│ ├── g++
│ ├── gcc
│ ├── gcc-ar
│ ├── gcc-nm
│ ├── gcc-ranlib
│ ├── gcore
│ ├── gcov
│ ├── gcov-dump
│ ├── gcov-tool
│ ├── gdb
│ ├── gdb-add-index
│ ├── gfortran
│ ├── gp-archive
│ ├── gp-collect-app
│ ├── gp-display-html
│ ├── gp-display-src
│ ├── gp-display-text
│ ├── gprof
│ ├── gprofng
│ ├── ld
│ ├── ld.bfd
│ ├── ld.gold
│ ├── lto-dump
│ ├── nm
│ ├── objcopy
│ ├── objdump
│ ├── ranlib
│ ├── readelf
│ ├── size
│ ├── strings
│ └── strip
├── distro-info
│ └── licenses
├── etc
│ └── gprofng.rc
├── include
│ ├── c++
│ └── gdb
├── lib
│ └── gcc
├── lib32
│ ├── libasan.a
│ ├── libasan.la
│ ├── libasan.so -> libasan.so.8.0.0
│ ├── libasan.so.8 -> libasan.so.8.0.0
│ ├── libasan.so.8.0.0
│ ├── libasan_preinit.o
│ ├── libatomic.a
│ ├── libatomic.la
│ ├── libatomic.so -> libatomic.so.1.2.0
│ ├── libatomic.so.1 -> libatomic.so.1.2.0
│ ├── libatomic.so.1.2.0
│ ├── libgcc_s.so
│ ├── libgcc_s.so.1
│ ├── libgfortran.a
│ ├── libgfortran.la
│ ├── libgfortran.so -> libgfortran.so.5.0.0
│ ├── libgfortran.so.5 -> libgfortran.so.5.0.0
│ ├── libgfortran.so.5.0.0
│ ├── libgfortran.spec
│ ├── libgomp.a
│ ├── libgomp.la
│ ├── libgomp.so -> libgomp.so.1.0.0
│ ├── libgomp.so.1 -> libgomp.so.1.0.0
│ ├── libgomp.so.1.0.0
│ ├── libgomp.spec
│ ├── libitm.a
│ ├── libitm.la
│ ├── libitm.so -> libitm.so.1.0.0
│ ├── libitm.so.1 -> libitm.so.1.0.0
│ ├── libitm.so.1.0.0
│ ├── libitm.spec
│ ├── libquadmath.a
│ ├── libquadmath.la
│ ├── libquadmath.so -> libquadmath.so.0.0.0
│ ├── libquadmath.so.0 -> libquadmath.so.0.0.0
│ ├── libquadmath.so.0.0.0
│ ├── libsanitizer.spec
│ ├── libssp.a
│ ├── libssp.la
│ ├── libssp.so -> libssp.so.0.0.0
│ ├── libssp.so.0 -> libssp.so.0.0.0
│ ├── libssp.so.0.0.0
│ ├── libssp_nonshared.a
│ ├── libssp_nonshared.la
│ ├── libstdc++.a
│ ├── libstdc++.la
│ ├── libstdc++.so -> libstdc++.so.6.0.32
│ ├── libstdc++.so.6 -> libstdc++.so.6.0.32
│ ├── libstdc++.so.6.0.32
│ ├── libstdc++.so.6.0.32-gdb.py
│ ├── libstdc++_libbacktrace.a -> libstdc++exp.a
│ ├── libstdc++exp.a
│ ├── libstdc++exp.la
│ ├── libstdc++fs.a
│ ├── libstdc++fs.la
│ ├── libsupc++.a
│ ├── libsupc++.la
│ ├── libubsan.a
│ ├── libubsan.la
│ ├── libubsan.so -> libubsan.so.1.0.0
│ ├── libubsan.so.1 -> libubsan.so.1.0.0
│ └── libubsan.so.1.0.0
├── lib64
│ ├── libasan.a
│ ├── libasan.la
│ ├── libasan.so -> libasan.so.8.0.0
│ ├── libasan.so.8 -> libasan.so.8.0.0
│ ├── libasan.so.8.0.0
│ ├── libasan_preinit.o
│ ├── libatomic.a
│ ├── libatomic.la
│ ├── libatomic.so -> libatomic.so.1.2.0
│ ├── libatomic.so.1 -> libatomic.so.1.2.0
│ ├── libatomic.so.1.2.0
│ ├── libcc1.a
│ ├── libcc1.la
│ ├── libcc1.so -> libcc1.so.0.0.0
│ ├── libcc1.so.0 -> libcc1.so.0.0.0
│ ├── libcc1.so.0.0.0
│ ├── libgcc_s.so
│ ├── libgcc_s.so.1
│ ├── libgfortran.a
│ ├── libgfortran.la
│ ├── libgfortran.so -> libgfortran.so.5.0.0
│ ├── libgfortran.so.5 -> libgfortran.so.5.0.0
│ ├── libgfortran.so.5.0.0
│ ├── libgfortran.spec
│ ├── libgomp.a
│ ├── libgomp.la
│ ├── libgomp.so -> libgomp.so.1.0.0
│ ├── libgomp.so.1 -> libgomp.so.1.0.0
│ ├── libgomp.so.1.0.0
│ ├── libgomp.spec
│ ├── libhwasan.a
│ ├── libhwasan.la
│ ├── libhwasan.so -> libhwasan.so.0.0.0
│ ├── libhwasan.so.0 -> libhwasan.so.0.0.0
│ ├── libhwasan.so.0.0.0
│ ├── libhwasan_preinit.o
│ ├── libitm.a
│ ├── libitm.la
│ ├── libitm.so -> libitm.so.1.0.0
│ ├─ ─ libitm.so.1 -> libitm.so.1.0.0
│ ├── libitm.so.1.0.0
│ ├── libitm.spec
│ ├── liblsan.a
│ ├── liblsan.la
│ ├── liblsan.so -> liblsan.so.0.0.0
│ ├── liblsan.so.0 -> liblsan.so.0.0.0
│ ├── liblsan.so.0.0.0
│ ├── liblsan_preinit.o
│ ├── libquadmath.a
│ ├── libquadmath.la
│ ├── libquadmath.so -> libquadmath.so.0.0.0
│ ├── libquadmath.so.0 -> libquadmath.so.0.0.0
│ ├── libquadmath.so.0.0.0
│ ├── libsanitizer.spec
│ ├── libssp.a
│ ├── libssp.la
│ ├── libssp.so -> libssp.so.0.0.0
│ ├── libssp.so.0 -> libssp.so.0.0.0
│ ├── libssp.so.0.0.0
│ ├── libssp_nonshared.a
│ ├── libssp_nonshared.la
│ ├── libstdc++.a
│ ├── libstdc++.la
│ ├── libstdc++.so -> libstdc++.so.6.0.32
│ ├── libstdc++.so.6 -> libstdc++.so.6.0.32
│ ├── libstdc++.so.6.0.32
│ ├── libstdc++.so.6.0.32-gdb.py
│ ├── libstdc++_libbacktrace.a -> libstdc++exp.a
│ ├── libstdc++exp.a
│ ├── libstdc++exp.la
│ ├── libstdc++fs.a
│ ├── libstdc++fs.la
│ ├── libsupc++.a
│ ├── libsupc++.la
│ ├── libtsan.a
│ ├── libtsan.la
│ ├── libtsan.so -> libtsan.so.2.0.0
│ ├── libtsan.so.2 -> libtsan.so.2.0.0
│ ├── libtsan.so.2.0.0
│ ├── libtsan_preinit.o
│ ├── libubsan.a
│ ├── libubsan.la
│ ├── libubsan.so -> libubsan.so.1.0.0
│ ├── libubsan.so.1 -> libubsan.so.1.0.0
│ └── libubsan.so.1.0.0
├── libexec
│ ├── gcc
│ ├── libbfd-2.42.so
│ ├── libctf-nobfd.so.0 -> libctf-nobfd.so.0.0.0
│ ├── libctf-nobfd.so.0.0.0
│ ├── libctf.so.0 -> libctf.so.0.0.0
│ ├── libctf.so.0.0.0
│ ├── libexpat.so.1 -> libexpat.so.1.9.2
│ ├── libexpat.so.1.9.2
│ ├── 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
│ ├── libgprofng.so.0 -> libgprofng.so.0.0.0
│ ├── libgprofng.so.0.0.0
│ ├── libiconv.so.2 -> libiconv.so.2.6.1
│ ├── libiconv.so.2.6.1
│ ├── libisl.so.23 -> libisl.so.23.3.0
│ ├── libisl.so.23.3.0
│ ├── liblzma.so.5 -> liblzma.so.5.4.6
│ ├── liblzma.so.5.4.6
│ ├── libmpc.so.3 -> libmpc.so.3.3.1
│ ├── libmpc.so.3.3.1
│ ├── libmpfr.so.6 -> libmpfr.so.6.2.1
│ ├── libmpfr.so.6.2.1
│ ├── libncursesw.so.6 -> libncursesw.so.6.4
│ ├── libncursesw.so.6.4
│ ├── libopcodes-2.42.so
│ ├── libsframe.so.1 -> libsframe.so.1.0.0
│ ├── libsframe.so.1.0.0
│ ├── 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.6
│ └── libzstd.so.1.5.6
├── share
│ ├── gcc-13.3.0
│ └── gdb
└── x86_64-pc-linux-gnu
├── bin
└── lib
19 directories, 223 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 x86 GNU/Linux and x86 Windows was dropped in 2022 and for 32-bit Arm GNU/Linux in 2025.
Analytics
- GitHub xpack-dev-tools/gcc-xpack
- this release
- all xPack releases
- individual file counters (grouped by release)
- this release
- npmjs.com @xpack-dev-tools/gcc
Credit to Shields IO for the badges and to Somsubhra/github-release-stats for the individual file counters.