I'm trying to find the header files for things such as limits.h in XCode. Where do they exist? Thanks.
+1
A:
- /usr/include/limits.h on my machine
That (/usr/include) is the normal place place for system headers on Unix-based machines. Sometimes, extensions have their code (headers, libraries) placed under /usr/local instead (/usr/local/include for headers, /usr/local/lib for libraries).
Jonathan Leffler
2010-01-18 03:52:58
+1
A:
It depends on your target SDK. Usually, you will find them in
/Developer/SDKs/<insert SDK here>/usr/include
For example,
/Developer/SDKs/MacOSX10.4u.sdk/usr/include
dreamlax
2010-01-18 04:10:15