GCC-TOOLSET(7)

πŸ“¦
version 15.0 Β· 3 versions
, in centos-stream 9

πŸ’… 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