Score:0

Setting /usr/bin/gcc and /usr/bin/g++ on SLES 15 when using gcc-12 package

vn flag

I'm trying to consume GCC 12.3 in SLES when using the packaged gcc-12 installed with zypper.

The compiler works and it's available on /usr/bin/gcc-12 alongside with /usr/bin/++-12, but I don't have a link to /usr/bin/gcc nor /usr/bin/g++ and I need them to avoid breaking with some packages that look specifically for those binaries.

How is the right way to achieve this on SLES? In the RHEL world there's the scl scripts with gcc-toolset-12 to proper set the paths on the system.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.