Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Updating the GCC(New to programming, trying to learn C/C++)
Updating the GCC [message #919443] Sat, 22 September 2012 01:48 Go to next message
K. S. is currently offline K. S.Friend
Messages: 2
Registered: September 2012
Junior Member
Hello. I'm not 100% sure if this is the best place to put this, but what the heck...

I'm running OSX 10.8 Mountain Lion on my Macbook Pro, and I'm trying to learn C/C++. The tutorial I've been looking at tells me that first, I should upgrade the GCC to at least 4.7 (now 4.8 is out) so that I can work with some of the new additions found in C++11 and C11, or whatever. I already have Xcode 4.5 installed (just updated today) and have the GCC 4.2 that comes with Command Line Tools, but that's outdated and I've been trying to find out how to upgrade the GCC so that I can use C11/C++11 commands and such in Eclipse.

Does anyone know a simple way to do this?

Btw, I downloaded the GCC 4.8 files from hpc.sourceforge.net, if that means anything.
Re: Updating the GCC [message #919454 is a reply to message #919443] Sat, 22 September 2012 02:00 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3266
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 9/21/2012 7:48 PM, K. S. wrote:
> Hello. I'm not 100% sure if this is the best place to put this, but what
> the heck...
>
> I'm running OSX 10.8 Mountain Lion on my Macbook Pro, and I'm trying to
> learn C/C++. The tutorial I've been looking at tells me that first, I
> should upgrade the GCC to at least 4.7 (now 4.8 is out) so that I can
> work with some of the new additions found in C++11 and C11, or whatever.
> I already have Xcode 4.5 installed (just updated today) and have the GCC
> 4.2 that comes with Command Line Tools, but that's outdated and I've
> been trying to find out how to upgrade the GCC so that I can use
> C11/C++11 commands and such in Eclipse.
>
> Does anyone know a simple way to do this?
>
> Btw, I downloaded the GCC 4.8 files from hpc.sourceforge.net, if that
> means anything.

Your question would be better asked in the Eclipse CDT forum.
Previous Topic:Creating a puzzle, question and answer, and finding the hidden objects type of game
Next Topic:how to install eclipse in ubuntu 12.04?
Goto Forum:
  


Current Time: Sat Dec 20 11:37:15 GMT 2014

Powered by FUDForum. Page generated in 0.01582 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software