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 > Applications > C/C++ IDE for Mac 10.x (especially 10.3)

C/C++ IDE for Mac 10.x (especially 10.3)
Thread Tools
Fresh-Faced Recruit
Join Date: Mar 2003
Status: Offline
Reply With Quote
Dec 15, 2003, 10:41 AM
 
Does anyone know of a good C/C++ IDE for Mac 10.x? Basically I want to use it to code non GUI UNIX programs, so the Xcode is kinda not the right thing for me (unless there is a better way to use xcode). I'd like one that is preferably free. Thoughts?
     
Addicted to MacNN
Join Date: Apr 2001
Location: europe
Status: Offline
Reply With Quote
Dec 15, 2003, 10:46 AM
 
Why is Xcode not the right thing for you?

The only other IDE is CodeWarrior.
Nasrudin sat on a river bank when someone shouted to him from the opposite side: "Hey! how do I get across?" "You are across!" Nasrudin shouted back.
     
Mac Elite
Join Date: Nov 2003
Location: Minnesota
Status: Offline
Reply With Quote
Dec 15, 2003, 10:47 AM
 
Xcode should work perfectly for your needs.
     
Fresh-Faced Recruit
Join Date: Mar 2003
Status: Offline
Reply With Quote
Dec 15, 2003, 10:59 AM
 
Originally posted by Turias:
Xcode should work perfectly for your needs.
How do I setup Xcode to do C/C++ projects? C/C++ Is not an option when you choose new project. When you choose blank project, it creates a bunch of mac specific files that I don't want. And then, I don't want to compile into .app format. How do I set this up?
     
Addicted to MacNN
Join Date: Apr 2001
Location: europe
Status: Offline
Reply With Quote
Dec 15, 2003, 11:03 AM
 
Just do New Project->Tool->Standard Tool. Doesn't create no bunch of Mac specific files.
Nasrudin sat on a river bank when someone shouted to him from the opposite side: "Hey! how do I get across?" "You are across!" Nasrudin shouted back.
     
Fresh-Faced Recruit
Join Date: Mar 2003
Status: Offline
Reply With Quote
Dec 15, 2003, 11:18 AM
 
can it generate a Makefile?
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Dec 15, 2003, 12:28 PM
 
Originally posted by npmccallum:
can it generate a Makefile?
You wouldn't need a Makefile if XCode is managing the build process.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
Senior User
Join Date: Jan 2003
Location: Stuttgart, Germany
Status: Offline
Reply With Quote
Dec 15, 2003, 01:18 PM
 
Xcode this, Xcode that. Just use Emacs and be done with it. There is no need for another editor or IDE when you're empowered by Emacs.
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Dec 15, 2003, 01:47 PM
 
Originally posted by entrox:
Xcode this, Xcode that. Just use Emacs and be done with it. There is no need for another editor or IDE when you're empowered by Emacs.
Yeah, you don't even need a window manager or an underlying OS. I have friends who use Emacs for compiling debugging, shells, email, web browsing, and other stuff, all within Emacs.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
Mac Elite
Join Date: Mar 2001
Location: Provo, UT
Status: Offline
Reply With Quote
Dec 15, 2003, 03:40 PM
 
Actually Eclipse will do C/C++ as well. I've not tried it on a Mac, but I know it will on Linux.

But I've done lots of standard C++ stuff with XCode with no problem. None of the code I write uses a GUI so its not that big a deal. I usually write a Makefile as well, just to ease porting to Solaris and Linux though.
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Dec 15, 2003, 04:02 PM
 
Originally posted by Arkham_c:
Yeah, you don't even need a window manager or an underlying OS. I have friends who use Emacs for compiling debugging, shells, email, web browsing, and other stuff, all within Emacs.
Huh? How would you not need an OS?

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
Mac Elite
Join Date: Feb 2001
Location: Washington, DC
Status: Offline
Reply With Quote
Dec 15, 2003, 04:48 PM
 
Originally posted by CharlesS:
Huh? How would you not need an OS?
Considering Emacs is an OS... but I wouldn't trust a Vim man on that issue.

You might be able to use an IDE for X11 though, if you don't want to use Xcode.

I don't have any experience with them though.
/Earth\ Mk\.\ I{2}/
     
Senior User
Join Date: Jan 2003
Location: Stuttgart, Germany
Status: Offline
Reply With Quote
Dec 15, 2003, 04:53 PM
 
Originally posted by CharlesS:
Huh? How would you not need an OS?
It is sometimes jokingly said that Emacs needs no OS, because it already is an OS in itself. Like a previous poster said, there are people who use it for everything.

But honestly: if you are developing Cocoa applications, use Xcode. The strong integration with Interface Builder and other goodies make it the most comfortable choice. If you are developing something else, a UNIX tool for example, use Emacs. It has integration with gdb, gcc, cvs, make etc. etc. (essentially with the whole GNU developer toolchain) and also has the best editor environment (yes, you have auto-completion, spell-checking, syntax highlighting, structured editing commands, rectangular selection and much much more).

The only downside is the steep learning curve, but it is manageable (did you know that the Cocoa text-widgets have optional Emacs keybindings?). Search Google for binaries of the Carbon version or get it from CVS yourself (look here).
     
   
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 10:22 AM.
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