Pages

[ubuntu] How to downgrade gcc from 5.4 to 5.3?

dimanche 17 juillet 2016

Hello everyone,

After letting my 64 bit Ubuntu 16.04 run some 'important updates', I discovered that a newer version of gcc has been installed and this led CUDA not to work anymore. Now, when I use CUDA, I get the following error message

Code:

#error -- unsupported GNU version! gcc versions later than 5.3 are not supported!
And after typing in a terminal console

Code:

gcc --version
I get

Code:

gcc (Ubuntu 5.4.0-6ubuntu1~16.04.1) 5.4.0 20160609
which explains why it doesn't work anymore. After some research, I learned that a solution could be to run the following

Code:

apt-get remove gcc g++
apt-get install gcc-(version-number) g++-(version-number)
But this trick only works for gcc versions < 5 where we could type the commands with a precise version number (ex. 3.4, 4.7, ...) whereas for versions > 5, this commands only works for version-number = 5 (and this installs the latest version available = 5.4).

Therefore, I would really need to downgrade gcc from 5.4 to 5.3 but I don't know which other method I could use. Would you have any ideas about that?

Thanks a lot in advance,
Paul

Let's block ads! (Why?)



[ubuntu] How to downgrade gcc from 5.4 to 5.3?

1 commentaire:

  1. [Ubuntu] How To Downgrade Gcc From 5.4 To 5.3? >>>>> Download Now

    >>>>> Download Full

    [Ubuntu] How To Downgrade Gcc From 5.4 To 5.3? >>>>> Download LINK

    >>>>> Download Now

    [Ubuntu] How To Downgrade Gcc From 5.4 To 5.3? >>>>> Download Full

    >>>>> Download LINK lP

    RépondreSupprimer