0

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.

Vinícius Ferrão
  • 5,520
  • 11
  • 55
  • 95

0 Answers0