PDA

View Full Version : XCode vs Unix tool Chain




Aranince
Dec 24, 2007, 12:35 AM
I am developing a cross platform game using portable libraries and C++. My next computer is most likely going to be a Mac. My current development environment is Visual Studio C++ 2005 Express on XP. Because I've done quite a bit of stuff in the Linux world, I an fairly familiar to the Unix tool chain and very comfortable with the command line.

Which build environment should I use on the Mac? XCode or straight command line? Like I said, I am very comfortable with the command line(vim ftw), but is XCode good enough to be a great alternative to Visual Studio and for C++ programming?



Catfish_Man
Dec 24, 2007, 01:09 AM
Probably not. If you're doing Cocoa stuff, Xcode is pretty good (particularly as of 3.0), but it's not particularly impressive as a C++ IDE.

gnasher729
Dec 24, 2007, 07:21 AM
I am developing a cross platform game using portable libraries and C++. My next computer is most likely going to be a Mac. My current development environment is Visual Studio C++ 2005 Express on XP. Because I've done quite a bit of stuff in the Linux world, I an fairly familiar to the Unix tool chain and very comfortable with the command line.

Which build environment should I use on the Mac? XCode or straight command line? Like I said, I am very comfortable with the command line(vim ftw), but is XCode good enough to be a great alternative to Visual Studio and for C++ programming?

All Apple software (that is everything that is shipped by Apple), including the operating system, the iLife applications, the iPhone software, everything is developed using XCode. So if it is good enough for Apple, it should be good enough for you. Personally, I prefer XCode to Visual Studio.

mduser63
Dec 24, 2007, 10:15 AM
Basically it's up to you. The command-line approach will work fine, but so will XCode. You could also use Eclipse or similar if you want.

JeffTL
Dec 24, 2007, 10:28 AM
When you compile in Xcode, it just invokes GCC anyhow, and Xcode's included with the operating system, so it's really a matter of personal preference as to whether you prefer Xcode or another editor that may or may not be able to organize files and invoke the compiler.

ChrisA
Dec 24, 2007, 11:51 AM
I am developing a cross platform game using portable libraries and C++.

If you need to be cross platform Xcode will not help you at all. I'd use GNU Autotools (autoconf, automake and libtool.) Ans yes you CAN build universal binaries without xcode, Apple provide command line tools for that