macOS Catalina更改clang sysroot和gxx-include-dir

时间:2019-10-18 14:03:37

标签: macos clang macos-catalina

我已升级到macOS Catalina 10.15,导致某些标头目录发生了更改。

现在,我找不到改变clang默认sysroot目录和gxx-include-dir目录的方法。

▶ gcc -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 11.0.0 (clang-1100.0.33.8)
Target: x86_64-apple-darwin19.0.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

0 个答案:

没有答案