开发者

Where are the header files for C in Xcode?

开发者 https://www.devze.com 2022-12-16 13:03 出处:网络
I\'m trying to开发者_如何学Go find the header files for things such as limits.h in XCode.Where do they exist?Thanks.It depends on your target SDK. Usually, you will find them in

I'm trying to开发者_如何学Go find the header files for things such as limits.h in XCode. Where do they exist? Thanks.


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


  • /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).

0

精彩评论

暂无评论...
验证码 换一张
取 消