PDA

View Full Version : Installing gcc without Xcode




TouchOfClass
Oct 24, 2007, 11: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.



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

TouchOfClass
Oct 25, 2007, 08:16 AM
yup.

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

MongoTheGeek
Oct 25, 2007, 12:16 PM
They are included in the different OS SDKs

/Developer/sdk/MacOSX10.n.n/usr/include

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

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