![]() Next, enter the command: > bcc32 -q -WD -WR -elibgeorgeringo.dll george.obj ringo.obj georgeringo. ![]() These three commands will generate the object files george.obj, ringo.obj, and georgeringo.obj. I'm less familiar with how MacPorts works, though some initial cursory investigation indicates they have the relevant packages as well. The compiler option -WR is used here to specify a dynamic variant of the runtime library. So, in order to get g++ you'll have to use something like homebrew (seemingly the current way to install Open Source software on the Mac (though homebrew has a lot of caveats surrounding installing gcc using it)), fink (basically Debian's apt system for OS X/Darwin), or MacPorts (Basically, OpenBSDs ports system for OS X/Darwin) to get it.įink definitely has the right packages. Secondly, I think all you have to do to install XCode is to download it from the App store. While XCode tools still has a command-line C++ compiler, In recent versions of OS X (I think 10.7 and later) have switched to clang/llvm (mostly because Apple wants all the benefits of Open Source without having to contribute back and clang is BSD licensed). You can download XCode for free (well, mostly, you do have to sign up to become an ADC member, but that's free too) here: Įdit : This answer was correct in 2010. ![]() They've hacked on it a little, but basically it's just g++. ![]() ![]() That's the compiler that comes with Apple's XCode tools package. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |