Advertisement

Installing C++ software on a Mac

Started by August 11, 2009 06:31 AM
7 comments, last by daviangel 15 years, 3 months ago
Hey, I am really interested about game programming, know a bit of c++, but just cant figure out how to install a compiler on my Mac. All there is in the installation instructions is a bunch of jibberish that I dont have a clue what its about. I think making an article using Eclipse and GCC would be useful, because they are popular tools.
To get GCC on MacOSX you must install Xcode. It will provide not only IDE, but also command line C/C++ GCC compiler.
Advertisement
When you got your mac it should have come with two disks the first is the system recovery disk to reinstall the OS. The other disk should be labeled tools( I think it has been a while.) It will have the developer tools on it. You can also register(for free) on apple's developer website and download the developer tools. For eclipse go by their website, all you should have to do is download the right one. There isn't an install process for eclipse.
Results 1-10 of about 484,000 for install gcc on mac, which incidentally is the first thing the Google toolbar suggests when I type 'install gcc on'.
Well, do you have to be 18 to register, and I dont really want to take calls from Apple.
Quote: Original post by phatuis
Well, do you have to be 18 to register, and I dont really want to take calls from Apple.
So get your parents to register if you're not over 18. The phone number field is optional. I don't really see what the problem is, they're not asking for anything more than what, say, Facebook asks for.
Advertisement
Quote: Original post by phatuis
Well, do you have to be 18 to register, and I dont really want to take calls from Apple.


Seriously, who cares how old you actually are?

[Formerly "capn_midnight". See some of my projects. Find me on twitter tumblr G+ Github.]

Quote: Original post by capn_midnight
Quote: Original post by phatuis
Well, do you have to be 18 to register, and I dont really want to take calls from Apple.


Seriously, who cares how old you actually are?
Some people respect rules instead of only following the ones they agree with.

Quote: Original post by stonemetal
When you got your mac it should have come with two disks the first is the system recovery disk to reinstall the OS. The other disk should be labeled tools( I think it has been a while.) It will have the developer tools on it. You can also register(for free) on apple's developer website and download the developer tools. For eclipse go by their website, all you should have to do is download the right one. There isn't an install process for eclipse.

It's actually hidden in the optional installs folder of the install dvd in the latest versions of macosx. I think long ago like pre 10.5 it was on the 2nd disc.
Personally, I suggest downloading the iphone sdk 3.0 version if you have the bandwidth since it will automatically install the latest version of Xcode and gcc for mac.
If all you have is the disc these are the step-by-step for the install:
To install the Xcode 3.0 Developer Tools using the Mac OS X v10.5 (Leopard) DVD:
[size="2"]Don't talk about writing games, don't write design docs, don't spend your time on web boards. Sit in your house write 20 games when you complete them you will either want to do it the rest of your life or not * Andre Lamothe

This topic is closed to new replies.

Advertisement