[SOLVED] The latest gcc/g++ version we can find on a linux distribution is 4.6.3 ?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
OMG. :OOO My only fear is that with a most state of the art g++ will have probs with classic code. I saw many who want to backwards their gcc versions to 4.4 4.3 and so.
If you assume you'll be having problems with the latest versions of the compiler, then why did you want to know what distro offers them by default? I'm no developer so I cannot elaborate on compatibility issues between compiler versions but if you're afraid of it, then stick with what works for your 'critical' projects and create for example a virtual machine that has the latest versions and run tests on that.
REALLY? DD SUPER!
Then if son a binary package of 4.7 comes to repository or i learn how to compile it my self i ll have all 4
PERFECT THANK YOU VERY MUCH!
P.S.
And all this mess for Damned C11 conncurent programming lo
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,493
Rep:
Well, if you really want "g++-4.7", then either install Debian Wheezy ...
(Ubuntu 12.04 is a clone of Debian Wheezy + Sid, no big difference.)
Debian Wheezy has : g++-4.4.7, g++-4.5.3, g++-4.6.3, g++-4.7.1
Or install the "Debian Wheezy g++-4.7 compiler" into Ubuntu 12.04 :
It's 10 packages compiler / libraries.
(Tested OK on the 32bits Ubuntu 12.04. Should work as well in 64bits.)
... And you'll have the same four times g++ as Wheezy.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.