is /usr/include a link ?

is /usr/include a link ?

Posted on Dec 11, 2025 8:43 AM

Reply
4 replies

Dec 11, 2025 9:53 AM in response to IdrisSeabright

in OS Monterey

I'm making the #include <> tree in SDK available to another compiler, intel icc

I have found a solution in https://apple.stackexchange.com/questions/337940/why-is-usr-include-missing-i-have-xcode-and-command-line-tools-installed-moja:

which is identify the SDK include tree and supply it to each icc compile with option -isysroot


% xcrun --show-sdk-path

/Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk


% icc -isysroot icc -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk -o binary source.c

is /usr/include a link ?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.