Thursday, July 9, 2009

GCC for mac?

I want to install a C and C++ compiler for mac. Xcode takes up too much space so I don't want to install that. I've tried the GNU page but I didn't understand a thing. Can someone lead me to the right link to download the compiler pls? Thanks.

GCC for mac?
Compiling open source projects typically requires a C compiler and gcc is typically the compiler of choice. Mac OS X doesn't install the gcc compiler by default but it is freely available in the xcode suite of development tools.


To install the gcc compiler, download the xcode package from http://connect.apple.com/. You'll need to register for an Apple Developer Connection account. Once you've registered, login and click Download Software and then Developer Tools. Find the Download link next to Xcode Tools (version) - CD Image and click it!





Find the downloaded package, doubleclick it and follow the installation instructions to install gcc and a host of other development applications. gcc will be located at /usr/bin/gcc.








wdw
Reply:I hope you know that MAC has a built-in c compiler.
Reply:XCode is also provided on the OS X installation CDs that came with your Mac.

morning glory

No comments:

Post a Comment