Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
07-10-2012, 01:17 AM
|
#1
|
Member
Registered: Jul 2012
Posts: 106
Rep:
|
The latest gcc/g++ version we can find on a linux distribution is 4.6.3 ?
Is gcc 4.6.3 the latest version we can find on a linux distribution "pre-installed" without having to download source code and compile it ourself?
Kubuntu 12.04 ha 4.6.3 "pre-installed"
Is there any other distribution that has a latest version installed?
P.S.
I doubt there is any distribution having latest versions such as 4.7 without downloading & compiling yourself wright?
|
|
|
07-10-2012, 01:26 AM
|
#2
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Hi,
On a Fedora 17 I have the following version of gcc without needing to download and compile:
Code:
gcc (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5)
Kind regards,
Eric
|
|
|
07-10-2012, 01:41 AM
|
#3
|
Member
Registered: Jul 2012
Posts: 106
Original Poster
Rep:
|
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.
|
|
|
07-10-2012, 02:02 AM
|
#4
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Hi,
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.
Kind regards,
Eric
|
|
|
07-10-2012, 02:43 AM
|
#5
|
Member
Registered: Jul 2012
Posts: 106
Original Poster
Rep:
|
Thank you. Just because I couldnt find anywhere a 4.7 binary package to simply sudo apt get instal, just source code XDDD xaxaxaxaxa
Your idea seems the best thanks
|
|
|
07-10-2012, 02:54 AM
|
#6
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
Quote:
I saw many who want to backwards their gcc versions to 4.4 4.3
|
(K)ubuntu 12.04 is equipped with three compilers :
gcc / g++ versions 4.4.7 , 4.5.3 , 4.6.3.
And : It is an advantage to have them all installed.
Easy to use with e.g. : export CC=gcc-4.4 CXX=g++-4.4 && <other-command>
.
|
|
1 members found this post helpful.
|
07-10-2012, 05:19 AM
|
#7
|
Member
Registered: Jul 2012
Posts: 106
Original Poster
Rep:
|
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
|
|
|
07-10-2012, 07:14 AM
|
#8
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
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.
.
|
|
|
All times are GMT -5. The time now is 08:39 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|