View Full Version : Installing gcc without Xcode

Oct 24, 2007, 10:51 PM
I downloaded the developer tools from Apple and I am trying to install gcc without installing Xcode and all the other tools. I was able to customize the install so that only gcc-4.0 and bsdsdk were installed. gcc is actually installed and appears to be working but stdio.h did not install. I couldn't find the library with 'locate' or 'spotlight' and I checked '/usr/include/'.

The reason I am doing this is that all I need is a command line compiler.

Oct 25, 2007, 02:36 AM
Have you checked /usr/bin? :)

Oct 25, 2007, 07:16 AM

gcc is there but no stdio.h. I thought the standard c libraries were in /usr/include.

Oct 25, 2007, 11:16 AM
They are included in the different OS SDKs


Hmm.. I also have them in /usr/include, but nothing wants to find them there.

Oct 25, 2007, 01:31 PM
You may want to install the Mac OS X 10.whatever SDK as well.