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 > programmin c on my mac

programmin c on my mac
Thread Tools
Fresh-Faced Recruit
Join Date: Dec 2006
Status: Offline
Reply With Quote
Feb 15, 2007, 06:53 PM
 
I'd like to start programming C/C++ on my new MacBook. I used to program as a hobby a year ago on my old PC in Linux using primarily emacs and gcc. I'd like to start programming on my Mac in Unix via Terminal or X11. How would I go about getting my computer ready for this? Thanks in advance.
     
Mac Elite
Join Date: Feb 2000
Location: Nashua NH, USA
Status: Offline
Reply With Quote
Feb 15, 2007, 07:16 PM
 
The keyword your looking for is XCode.
     
notwist  (op)
Fresh-Faced Recruit
Join Date: Dec 2006
Status: Offline
Reply With Quote
Feb 15, 2007, 08:15 PM
 
Bah, i just want to compile c programs
     
Forum Regular
Join Date: Aug 2005
Status: Offline
Reply With Quote
Feb 15, 2007, 08:22 PM
 
BBLAZE_MkIV is correct, XCode is what you are looking for. It is free, and is on your OS X install DVD.
YummySoup! - Recipe management and sharing at its best!
     
Professional Poster
Join Date: Nov 2000
Location: Tasmania, Australia
Status: Offline
Reply With Quote
Feb 15, 2007, 08:29 PM
 
The standard, free, Apple developer tools (packaged with XCode) includes all the command line tools you could need (eg, gcc, gdb).
     
Forum Regular
Join Date: Feb 2007
Location: Scappoose OR, USA
Status: Offline
Reply With Quote
Feb 15, 2007, 11:58 PM
 
If you really want to do it the hard way, install XCode regardless. Then open up Terminal and run vi, pico, nano (or whatever. those 3 are available that I've seen) your terminal editor of choice is.
There you go, programming in terminal.
Install Fink or MacPorts and you can run emacs, Xemacs, blah blah using X11.

But good grief, just use the XCode tools and to hell with X11 and terminal.
     
   
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 02:46 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