GCC-TOOLSET-12(7)

πŸ“¦ version 12.0, in centos-stream 9

πŸ’… gcc-toolset-12 β€” the vibes-only guide

ok so this page lives in the User Commands section of the manual, bestie, and it's literally all about gcc-toolset-12. like, the whole thing. let's get into it 🫢


✨ NAME ✨

gcc-toolset-12 β€” the manual page for gcc-toolset-12 12.0 Software Collection. that's it, that's the name, iconic behavior honestly πŸ‘‘


🌸 SYNOPSIS 🌸

scl enable gcc-toolset-12 <command>

like, that's the whole move. scl enable, the collection name, and the command you wanna run. periodt.


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so. the package gcc-toolset-12 is the main package for Red Hat GCC Toolset 12 β€” she's the headliner, the main character energy of the whole toolset πŸ’…

by installing the gcc-toolset-12 package, you get the working set of packages that are included in Red Hat GCC Toolset 12, and that set includes development and debugging tools. yes bestie, both. we love a bundle 🌈

and here's the part that actually matters: Red Hat GCC Toolset lets you build and execute applications which are not located in the filesystem root hierarchy β€” instead they're stored in an alternative location. and for the gcc-toolset-12 collection specifically, that alternative location is:

/opt/rh/gcc-toolset-12/root

not in the root hierarchy, but tucked into her own little home. lowkey iconic 🏠✨


πŸŽ€ EXAMPLES πŸŽ€

πŸ“ scl enable gcc-toolset-12 'command --arg'

run a specific command with the argument --arg within the gcc-toolset-12 Red Hat GCC Toolset environment. so like, whatever command you want, with whatever argument, inside the toolset's whole vibe ✨

🧚 scl enable gcc-toolset-12 'gcc'

run gcc from the gcc-toolset-12 Red Hat GCC Toolset. the classic. the moment. the compiler herself πŸ”₯

πŸ’œ scl enable gcc-toolset-12 'bash'

run an interactive shell wherein the gcc-toolset-12 software collection is enabled. like, you just hang out in the toolset environment and everything's already set up for you. self-care honestly 😭🫢

⭐ scl enable gcc-toolset-12 'man gcc'

show the man pages for the gcc command, which is a part of the gcc-toolset-12 Red Hat GCC Toolset. reading the docs? we stan a literate queen πŸ‘‘πŸ“–


πŸ”₯ REPORTING BUGS πŸ”₯

found a bug? report bugs to <http://bugzilla.redhat.com>. don't suffer in silence bestie, tell the bugzilla girlies πŸ›πŸ’€


ngl this page is short but she ate. go build something cute πŸ’–

and that's the whole page, bestie! 🌸 this was gcc-toolset-12 12.0 Software Co... β€” from June 2022 β€” living her best life as GCC-TOOLSET-12(7). mwah, bye πŸŽ€πŸ’‹

πŸ“¦ where this page comes from