On Tue, Mar 3, 2020 at 12:06 PM Masaru Nomiya
Hello,
In the Message;
Subject : [opensuse] NVIDIA nvcc (CUDA compiler) on Tumbleweed, and gcc versions Message-ID :
Date & Time: Tue, 3 Mar 2020 08:55:29 +0100 [RO] == Roger Oberholtzer
has written: RO> I have installed the NVIDIA CUDA RPMS on Tumbleweed. Although they are RO> packaged by NVIDIA for Leap 15.1, they seem to have installed. [...] RO> What is the best way to have two versions of gcc installed?
How about using the 'update-alteenatives'?
Another thing is, what happens when an update for one of the compilers is installed. Let's say I have both gcc8 and gcc9 installed. I have gcc9 as my default. What happens when an update for gcc8 is installed? Does it now become the default? Where will /usr/bin/gcc be pointing? With gcc9, it is like this: lrwxrwxrwx 1 root root 5 Oct 8 14:11 /usr/bin/gcc -> gcc-9 -rwxr-xr-x 1 root root 760456 Feb 4 22:14 /usr/bin/gcc-9 lrwxrwxrwx 1 root root 8 Oct 8 14:11 /usr/bin/gcc-ar -> gcc-ar-9 -rwxr-xr-x 1 root root 27064 Feb 4 22:14 /usr/bin/gcc-ar-9 lrwxrwxrwx 1 root root 8 Oct 8 14:11 /usr/bin/gcc-nm -> gcc-nm-9 -rwxr-xr-x 1 root root 27056 Feb 4 22:14 /usr/bin/gcc-nm-9 lrwxrwxrwx 1 root root 12 Oct 8 14:11 /usr/bin/gcc-ranlib -> gcc-ranlib-9 -rwxr-xr-x 1 root root 27072 Feb 4 22:14 /usr/bin/gcc-ranlib-9 What happens after gcc8 is updated? -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org