Changes between Initial Version and Version 1 of Ticket #57612, comment 18


Ignore:
Timestamp:
Nov 21, 2018, 12:03:47 AM (6 years ago)
Author:
jeremyhu (Jeremy Huddleston Sequoia)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57612, comment 18

    initial v1  
    11> Where does that default isysroot come from? Because on 10.13, which has /usr/include, there is no default isysroot. It's only there on 10.14. But I don't know what puts it there.
    22
    3 If -isysroot is on the command line, it is used. Otherwise ...
    4 If system headers are installed, they are used (no sysroot is set). Otherwise ...
    5 If xcrun finds a major-version matching SDK in the selected Xcode.app or in /Library/Developer/SDKs, it will use it.   Otherwise ...
    6 If xcrun finds a macosx SDK in the selected Xcode.app or in /Library/Developer/SDKs, it will use it.
     3  * If -isysroot is on the command line, it is used. Otherwise ...
     4  * If system headers are installed, they are used (no sysroot is set). Otherwise ...
     5  * If xcrun finds a major-version matching SDK in the selected Xcode.app or in /Library/Developer/SDKs, it will use it.   Otherwise ...
     6  * If xcrun finds a macosx SDK in the selected Xcode.app or in /Library/Developer/SDKs, it will use it.
    77
    88xcrun does not explicitly set the command line arguments.  It sets the SDKROOT envvar, which CFE honors as the default isysroot if set.