GCC-TOOLSET(7)
π GCC-TOOLSET(7) π
okay bestie, welcome to the User Commands corner of the manual β this one is literally all about the GCC-Toolset situation and honestly it's giving "your new fav build environment" energy. π«Ά
β¨ NAME β¨
GCC-Toolset β the GNU project C, C++ and Fortran compiler and linker, all bundled up and ready to slay π₯
πΈ SYNOPSIS πΈ
scl enable gcc-toolset-15 <command>
that's the whole vibe check right there, no cap. you wrap whatever you wanna run in scl enable gcc-toolset-15 and boom, it's living in the toolset world β¨
π¦ DESCRIPTION π¦
so the package gcc-toolset-15 is the main character package for Red Hat GCC Toolset 15, periodt π. when you install the gcc-toolset-15 package, you get the whole working set of packages that are included in Red Hat GCC Toolset 15 β and yes, that includes the development and debugging tools too, it's a whole package ππ
here's the iconic part: Red Hat GCC Toolset literally lets you build and execute applications that are not located in the filesystem root hierarchy. instead they're stored in an alternative location β and for the gcc-toolset-15 collection that location is:
/opt/rh/gcc-toolset-15/root
so like. not in the root hierarchy. it's off doing its own thing in /opt/rh/gcc-toolset-15/root and honestly? respect. π§
π EXAMPLES π
these are the moments, bestie. let's go one by one π
scl enable gcc-toolset-15 'command --arg'
run a specific command with the argument --arg inside the gcc-toolset-15 Red Hat GCC Toolset environment. like, the whole environment. that's it, that's the move β¨
scl enable gcc-toolset-15 'gcc'
run GCC from the gcc-toolset-15 Red Hat GCC Toolset. the classic. the original. the icon. π₯
scl enable gcc-toolset-15 'bash'
run an interactive shell wherein the gcc-toolset-15 software collection is enabled. honestly so cozy, just you and your enabled collection hanging out π«Ά
scl enable gcc-toolset-15 'man gcc'
show man pages for the gcc command, which is a part of the gcc-toolset-15 Red Hat GCC Toolset. reading the man pages inside the toolset environment? that's main character energy fr fr ππ
π REPORTING BUGS π
found a bug? don't suffer in silence, bestie β report it to <https://issues.redhat.com/> ππ«Ά
ngl, bugs happen to everyone. reporting them is the slay move.
cute little sign-off time π this whole thing is from the GCC-Toolset 15 Software Collection, dated June 2025 β and that's the vibe, iykyk πβ¨π
π¦ where this page comes from
- centos-stream 9: gcc-toolset-15 15.0-9.el9 Β· GPLv2+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms