4 Replies Latest reply: Dec 29, 2012 1:13 AM by softwater
johnfromgilroy Level 1 (5 points)

How do I set up my system so that I can program in C,C  ? Without using Xcode. Just want to write simple "hello, world" stuff. So far, my Mac seem oblivious to my efforts even though it seems that all the files are there.


At first, it could not find gcc. Then I added /Developer/usr/bin to the path and it seemed to find gcc.


Then it didn't find stdio.h. I added /Developer/SDKs/MacOSX10.6.sdk/usr/include/ to the path but it still doesn't find stdio.h


There must be a standard C setup that my Mac is not conformaing to. How can I get set up like a regular Unix system and do C programming like I used to?




iMac, Mac OS X (10.7.1)