Created
November 12, 2018 13:19
-
-
Save masutaka/7fde7c99473ad51af74d7d2819b16e97 to your computer and use it in GitHub Desktop.
/usr/include hides deep inside from macOS Mojave
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ gcc -v test.c | |
Apple LLVM version 10.0.0 (clang-1000.10.44.4) | |
Target: x86_64-apple-darwin18.2.0 | |
Thread model: posix | |
InstalledDir: /Library/Developer/CommandLineTools/usr/bin | |
"/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.14.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name test.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fno-strict-return -masm-verbose -munwind-tables -target-cpu penryn -dwarf-column-info -debugger-tuning=lldb -target-linker-version 409.12 -v -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/10.0.0 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -I/usr/local/include -fdebug-compilation-dir /Users/masutaka/Dropbox/test/c -ferror-limit 19 -fmessage-length 165 -stack-protector 1 -fblocks -fencode-extended-block-signature -fobjc-runtime=macosx-10.14.0 -fmax-type-align=16 -fdiagnostics-show-option -fcolor-diagnostics -o /var/folders/35/z_r44myd0td8p40zr3t3wzph0000gn/T/test-a34795.o -x c test.c | |
clang -cc1 version 10.0.0 (clang-1000.10.44.4) default target x86_64-apple-darwin18.2.0 | |
ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/local/include" | |
ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/Library/Frameworks" | |
#include "..." search starts here: | |
#include <...> search starts here: | |
/usr/local/include | |
/Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/include | |
/Library/Developer/CommandLineTools/usr/include | |
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include | |
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks (framework directory) | |
End of search list. | |
"/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -no_deduplicate -dynamic -arch x86_64 -macosx_version_min 10.14.0 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -o a.out /var/folders/35/z_r44myd0td8p40zr3t3wzph0000gn/T/test-a34795.o -L/usr/local/lib -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/lib/darwin/libclang_rt.osx.a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment