Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Heresy -- but help still needed

Heresy -- but help still needed
Thread Tools
Fresh-Faced Recruit
Join Date: Jan 2009
Status: Offline
Reply With Quote
Jan 16, 2009, 03:36 PM
 
My Son persuaded me to get a Mac. So I got a Macbook pro at considerably more cash than a Windows laptop but hey, this is the machine of machines, yes??

Hmmm

Look, I want a C compiler. Better, a C++ compiler. With Windows you wander over to Amazon and get a Visual C++ and there ya go.

With you guys, it's a maze. I just want a C compiler. I am happy to pay for one that comes with libraries to help me deal with the GUI and the OS. BUT I CANNOT FIND OUT HOW, WHERE, FROM WHOM or HOW MUCH.

I don't want to support Microsoft. I like the idea of stroppy people going against the crowd ... hence my Macbook, but I am getting seriously ****** off by the difficulties inherent in actually acquiring the tools I need.

Hold my hand. Calm me down. Tell me to get ACME COMPILER from The ACME SOFTWARE WEBSITE and the job is done.
     
Mac Elite
Join Date: Nov 2005
Location: Seattle, WA, USA
Status: Offline
Reply With Quote
Jan 16, 2009, 06:48 PM
 
No worries, it's actually pretty easy. What you want is Apple's Xcode - a 100% free download from Apple.

http://developer.apple.com/technology/xcode.html

You'll need to register for a free account with Apple, but after that it's pretty straightforward. The installer includes GCC, a common and open-source compiler for C, C++, and Objective-C.

Once you've got Xcode installed, you'll probably want to check out Cocoa, the most common framework for writing Mac GUI applications. It's an object-oriented framework that is most commonly accessed with Objective-C, an object-oriented superset of C. Xcode comes with some okay documentation, but I highly recommend Aaron Hillegass's book Cocoa Programming for Mac OS X.

Above all else, let us know if you need any more help!

Any ramblings are entirely my own, and do not represent those of my employers, coworkers, friends, or species
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Jan 16, 2009, 06:51 PM
 
No need to buy anything. OS X comes with the industry-standard GCC, which is a compiler for C, C++ and a boatload of other things. On your OS install/software restore DVD, there should be an installer for the Xcode Tools, which includes GCC. It will also install the Xcode IDE. You can also download the latest version of the tools at connect.apple.com.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
   
Thread Tools
Forum Links
Forum 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:52 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2