Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 857  / 2 Years ago, fri, february 25, 2022, 9:04:00

I have ubuntu 10.10, and I have been learning c++ lately on it. I originally installed the gcc compilier via the command:



sudo aptitude install build-essential


I would like to start learning/testing the newer c++ features and I think it would be best to have the latest version of gcc installed. Im just needing some advice on this.



Is it possible to put a newer version of gcc in a separate folder that I can use for testing?



or



Is it possible/should I upgrade the current running version of gcc compilier


More From » 10.10

 Answers
2

Yes you can download a newer version of gcc as a tarball and compile it with the current kernel installed. You can find gcc (and binutils) here:



GNU




Is it possible/should I upgrade the current running version of gcc compilier




No you should not and cannot simply upgrade the compiler via the package management system. Further this could lead to dependency problems.


[#41422] Sunday, February 27, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
itchlos

Total Points: 486
Total Questions: 115
Total Answers: 110

Location: Macau
Member since Fri, Apr 28, 2023
1 Year ago
;