LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 07-10-2012, 02:17 AM   #1
esgol
Member
 
Registered: Jul 2012
Posts: 106
Blog Entries: 1

Rep: Reputation: Disabled
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?
 
Old 07-10-2012, 02:26 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
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
 
Old 07-10-2012, 02:41 AM   #3
esgol
Member
 
Registered: Jul 2012
Posts: 106
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
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.
 
Old 07-10-2012, 03:02 AM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
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
 
Old 07-10-2012, 03:43 AM   #5
esgol
Member
 
Registered: Jul 2012
Posts: 106
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
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
 
Old 07-10-2012, 03:54 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,735

Rep: Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317
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.
Old 07-10-2012, 06:19 AM   #7
esgol
Member
 
Registered: Jul 2012
Posts: 106
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
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
 
Old 07-10-2012, 08:14 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,735

Rep: Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317
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.

.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find Linux kernel & gcc version taichiman Linux - Hardware 4 04-12-2016 10:20 PM
is there any latest gcc version available in .rpm package anushineforever Linux - Software 1 01-04-2009 02:20 AM
Regarding distribution + kernel version + gcc version + glib version. JCipriani Linux - General 8 04-19-2008 03:54 PM
where can I find the latest Linux deve version kevin05 Linux - General 8 02-24-2006 08:36 PM
unable to install latest gcc version sapadman Linux - Newbie 1 07-20-2004 06:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration