You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Please update to newer Binutils, Linux UAPI headers, and patchelf in the managed Linux GCC toolchain #988
So im trying out mcpp for a Linux project using gcc / g++
The first issue i encountered, was that the default compiler in the toolchain when i did mcpp new hello_world and mcpp build was g++ 16.1 , instead of whatever the latest upstream gcc version is ,which is 16.2
The same problem accross the entire Linux toolchain. I wanted to use the latest toolchains for my project, since it will be utilizing latest c++26 features - yk, the latest stuff.
I’m trying mcpp 2026.11.20.1 on Fedora 45 x86_64. A fresh hello_world project builds and runs successfully with import std; using managed GCC 16.2.0. The compiler and glibc are already on current stable upstream release series. Several supporting packages are still pinned to older versions.
Component | Version selected by xlings | Current upstream release
-- | -- | --
GNU Binutils | 2.42.1, packaged from upstream 2.42 | 2.47
Linux userspace API headers | 5.11.1 | 7.3.5 kernel release
patchelf | 0.18.0 | 0.19.3
I think having the latest packages is a must. Like some of theses are pretty outdated for e.g the Linux headers. Overall , i'd say that Linux toolchain is a pretty major set of packages and not having them up to date does not look good for new users or people trying it out.
Secondly, i think that the default toolchain should default to the latest. Like i had to do manually [email protected] when i selected gcc@16.
In versioning, one must select the highest variant if no specific minor version is given, which would be 16.2. gcc@16 reuses installed GCC 16.1.0 when the index offers 16.2.0. Perhaps this is a seperate issue, but the versioning update based stuff seems broken in this case.
Please add the latest variant of gcc/g++ 14, which is something like 14.4.1 etc ( for linux ) . This older gcc compiler is still needed for many development workflows. Its not also just about having the latest and greatest stuff as my previous post may have left an impression of.
@UsmanTariq2 I have added 7.3.x to index repo , mcpp support config by local path or submit to xim-pkgindex repo, you can try:
mcpp.toml
[target.x86_64-linux-gnu.layers]
kernel-abi = "xim:[email protected]" # an ecosystem payload, always with its version
# kernel-abi = { path = "third_party/uapi" } # or a header directory (no mcpp.toml in it)
Activity
2026.11.21.1: the test and CI design (mtest 0.11), the home's unit ca…
Sunrisepeak commentedon Nov 22, 2026
UsmanTariq2 commentedon Nov 22, 2026
I dont see the latest linux headers in the 7.1.xx.7.2.xx .7.3.xx
UsmanTariq2 commentedon Nov 22, 2026
Also in : https://index.xlings.org/packages/gcc
Please add the latest variant of gcc/g++ 14, which is something like 14.4.1 etc ( for linux ) . This older gcc compiler is still needed for many development workflows. Its not also just about having the latest and greatest stuff as my previous post may have left an impression of.
Sunrisepeak commentedon Nov 24, 2026
@UsmanTariq2 I have added 7.3.x to index repo , mcpp support config by local path or submit to xim-pkgindex repo, you can try:
mcpp.toml
UsmanTariq2 commentedon Nov 24, 2026
Great. Thanks alot