08-13-2024, 05:36 PM
Now that is crazy. I just learned, that there are multiple versions of GCC installed in openSUSE Leap 15.6.
Here from my terminal:
Here from my terminal:
Quote:cybermonkey@localhost:~> gcc --versionNow the only question is, how do I tell Linux that it should use gcc-13 instead of gcc?
gcc (SUSE Linux) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
cybermonkey@localhost:~> gcc-10 --version
gcc-10 (SUSE Linux) 10.4.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
cybermonkey@localhost:~> gcc-13 --version
gcc-13 (SUSE Linux) 13.3.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.