Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Re: Re: C++ and macs...

Originally posted by jettredmont

The only killer on the Mac currently is that gcc (the compiler ProjectBuilder uses) is incredibly slow to build compared to MSVC's cc, and the output is highly less optimized than the Windows output.
apple and ibm need to make some deal so that project builder can use ibm's new g5 compilers. i'm assuming that ibm's performance is better than gcc, and it only makes sense since the g3 and g5 are built by ibm.
 
C++ Compile error - Systems Config Problem?

Hello,
First off I'm new to this forum and I hope that I'm posting this correctly. If not, someone please kindly help - Thanks!

Now to the problem-
I am running OS X (10.2.8) and I am trying to write a simple C++ "Hello World" program just learn how to compile and run a C++ program in this environment. I'm using a Terminal window and I'm pretty sure that my code is correct and that I'm using the Terminal correctly, but when I complie (% cc hello.cpp) it seems to run fine ( meaning I don't get any compiler error msgs) and then I get this error - "/usr/bin/ld: /usr/lib/libSystem.dylib load command 9 unknown cmd field". I would think that this is some kind of error in how my system is configured rather than a compiler problem. Any info would be appreciated.

Thank you
 
Re: C++ and macs...

I use CodeWarrior for C++ development on the Mac. gcc is fine, but, personally, I like a nice GUI.
 
Re: Re: C++ and macs...

Originally posted by crenz
However, the key thing is the development environment. On Windows, Microsoft has created a fantastic IDE for C++ ("integrated development environment"), Visual C++ .

Personally, I can't stand Visual Studio. Functionally, it is fine, but the GUI drives me crazy. It's clunky and counterintuitive. But, then again, I'm a Mac user, so I'm used to CodeWarrior.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.