If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
I am fairly new in Mac OS X. I have read all the documentation I could ever read but it doesn't tell me how to compile code in the command line. I don't have the developer tools and I can't do any other compiles because I don't have GCC. How do I compile GCC in the command line? Please help. As soon as 10.1 is released I'm going to work on certification.
Originally posted by macosxgeek:
<STRONG>I am fairly new in Mac OS X. I have read all the documentation I could ever read but it doesn't tell me how to compile code in the command line. I don't have the developer tools and I can't do any other compiles because I don't have GCC. How do I compile GCC in the command line? Please help. As soon as 10.1 is released I'm going to work on certification.</STRONG>
You appear to be slightly confused.
gcc IS the compiler. You don't compile it (well, you can, but you wouldn't want to, it requires setting up the extremely evil Darwin build environment etc etc).
You will need the developer tools. You can get them from http://connect.apple.com (free registration required).