Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 3rd, 2006, 8:31 PM   #1
gumbyman31
Newbie
 
Join Date: May 2006
Location: Inside
Posts: 14
Rep Power: 0 gumbyman31 is on a distinguished road
Send a message via AIM to gumbyman31
C++ on Mac

Hey all. First off I would like to say i'm a complete newbie to this forum, so please forgive me if this topic is already posted.

I was wondering what the best C++ compiler would be for OS X 10.3.9. I ask because I know xcode has the option of creating a C++ file, but Xcode is a really "heavy" app, consuming much ram and processor.

I'm looking for something relatively simple and lightweight. Any ideas?
gumbyman31 is offline   Reply With Quote
Old May 3rd, 2006, 9:52 PM   #2
titaniumdecoy
Expert Programmer
 
titaniumdecoy's Avatar
 
Join Date: Nov 2005
Posts: 931
Rep Power: 4 titaniumdecoy is on a distinguished road
Send a message via AIM to titaniumdecoy
Xcode is (at this time) the only viable C++ IDE on the Mac. You can download Xcode for free with a free Apple Developer Connection account.

Intel will be introducing a Mac version of its commercial developer tools in the near future (which will not be free and will only be compatible with Intel-powered macs).

If you're looking for something lightweight, you can use the Terminal (/Applications/Utilities/Terminal) to compile code with *nix commands such as "gcc filename" or "g++ filename".
titaniumdecoy is offline   Reply With Quote
Old May 3rd, 2006, 10:58 PM   #3
mrynit
Hobbyist Programmer
 
mrynit's Avatar
 
Join Date: Mar 2006
Location: WA, USA
Posts: 343
Rep Power: 3 mrynit is on a distinguished road
Send a message via AIM to mrynit Send a message via MSN to mrynit Send a message via Yahoo to mrynit Send a message via Skype™ to mrynit
Quote:
Originally Posted by titaniumdecoy
If you're looking for something lightweight, you can use the Terminal (/Applications/Utilities/Terminal) to compile code with *nix commands such as "gcc filename" or "g++ filename".
so mac has a built in C++ compiler? i never knew that. is it just on osX?
mrynit is offline   Reply With Quote
Old May 3rd, 2006, 11:05 PM   #4
titaniumdecoy
Expert Programmer
 
titaniumdecoy's Avatar
 
Join Date: Nov 2005
Posts: 931
Rep Power: 4 titaniumdecoy is on a distinguished road
Send a message via AIM to titaniumdecoy
Yes, since the first version of Mac OS X.
titaniumdecoy is offline   Reply With Quote
Old May 3rd, 2006, 11:29 PM   #5
andro
Professional Programmer
 
Join Date: Oct 2005
Location: California
Posts: 319
Rep Power: 4 andro is on a distinguished road
Send a message via AIM to andro
It's actually only available if you've installed the developer tools, just for future referehnce.
andro is offline   Reply With Quote
Old May 4th, 2006, 12:25 AM   #6
titaniumdecoy
Expert Programmer
 
titaniumdecoy's Avatar
 
Join Date: Nov 2005
Posts: 931
Rep Power: 4 titaniumdecoy is on a distinguished road
Send a message via AIM to titaniumdecoy
Are you sure? I thought it came with the OS. Hmm...
titaniumdecoy is offline   Reply With Quote
Old May 4th, 2006, 7:05 PM   #7
AICkieran
Programmer
 
Join Date: Jan 2006
Location: UK
Posts: 55
Rep Power: 3 AICkieran is on a distinguished road
Quote:
Originally Posted by titaniumdecoy
Are you sure? I thought it came with the OS. Hmm...
Nah, You have to install developer tools, though theres normally a cd with it on that comes with macs, Xcode is kinda crap though, I tend to just use komodo which i use for scripting and setup a command in the toolbox or use terminal to compile.
AICkieran is offline   Reply With Quote
Old May 4th, 2006, 10:22 PM   #8
gumbyman31
Newbie
 
Join Date: May 2006
Location: Inside
Posts: 14
Rep Power: 0 gumbyman31 is on a distinguished road
Send a message via AIM to gumbyman31
And how would I go about setting it up in the terminal? I assume there's a pre-installed compiler, but I haven't done too much work with terminal, apart from Apache work, so I don't know any better.
gumbyman31 is offline   Reply With Quote
Old May 5th, 2006, 1:14 AM   #9
ChrisX.KP
Newbie
 
ChrisX.KP's Avatar
 
Join Date: May 2006
Posts: 7
Rep Power: 0 ChrisX.KP is on a distinguished road
Send a message via AIM to ChrisX.KP
Doesn't matter to me I'm more of a Windows guy, but if I ever get a chance to switch to a mac I really don't know if I would take it. I like the compatability of the Windows platform and if you do things right its not as unstable as everyone makes it out to be.
ChrisX.KP is offline   Reply With Quote
Old May 5th, 2006, 3:26 PM   #10
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Thanks for the contribution. Can I offer some advice? If it doesn't matter to you, don't bother posting.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting 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
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:55 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC