GCC-TOOLSET(7)
π GCC-TOOLSET(7) β the gcc-toolset one, bestie
okay so real quick, before we even get into it: this page lives in the User Commands section of the manual, and its whole name is GCC-Toolset β like, the GNU project C, C++ and Fortran compiler and linker. yes. all three. C, C++, and Fortran. multitalented icon behavior honestly.
β¨ NAME β¨
GCC-Toolset β the GNU project C, C++ and Fortran compiler and linker π«Ά
π SYNOPSIS π
gcc-toolset-15-env [command]
that's it. that's the whole vibe. command is optional, bestie β you can pass one, or you can rawdog it and see what happens (spoiler: you get an interactive shell, keep reading π).
π¦ DESCRIPTION π¦
so the package gcc-toolset-15 is, like, the main character package for Red Hat GCC Toolset 15. install it and you get the whole working set of packages bundled up in Red Hat GCC Toolset 15 β which includes the compiler and the linker. the whole squad. π
and here's the part that actually matters, lowkey: Red Hat GCC Toolset lets you build and execute applications that are not located in the filesystem root hierarchy. nope, not there. they're stored in an alternative location instead β and for gcc-toolset-15 that alternative location is literally:
/opt/rh/gcc-toolset-15/root
that's the spot. that's where the magic lives. β¨
πΈ EXAMPLES πΈ
these are so good, ngl. look at these.
gcc-toolset-15-env
run an interactive shell wherein gcc-toolset-15 is enabled. just you, a shell, and the entire toolset activated. self-care. π§
gcc-toolset-15-env command --arg
run a specific command with the argument --arg within the gcc-toolset-15 Red Hat GCC Toolset environment. so the command gets the toolset energy around it. iconic.
gcc-toolset-15-env gcc
run GCC from the gcc-toolset-15 Red Hat GCC Toolset. yes, THE gcc. the one you came for. π₯
gcc-toolset-15-env man gcc
show man pages for the gcc command, which is a part of the gcc-toolset-15 Red Hat GCC Toolset. manpage-ception. you're reading a manpage about reading a manpage. π
π REPORTING BUGS π
found a bug? a little oopsie? a genuine glitch in the matrix? report it to <https://issues.redhat.com/> β they wanna hear it, fr fr. π
and ngl, be nice about it β bug reports are a love language π
okay that's the whole page, you're officially informed π β¨
β signed off with love, GCC-Toolset 15, dated July 2025, on the GCC-TOOLSET(7) page ππ¦π
π¦ where this page comes from
- centos-stream 10: gcc-toolset-15-runtime 15.0-11.el10 Β· GPLv2+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms