https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87243
--- Comment #2 from Jack Howarth <howarth.at.gcc at gmail dot com> --- (In reply to Iain Sandoe from comment #1) > I am strongly against making GCC's configure depend on xcrun. It is quite > possible that GCC could be used, for example, with PureDarwin - or on > systems without any Xcode install (using headers built from the OpenSource > packages). > > So, yes we have to find a solution to finding the headers, > but no, (at least I don't agree) that trying into yet another tool we don't > control is that solution. The problem is finding a mechanism which doesn't use Apple's xcrun yet still allows you to find the SDK since the location of Xcode.app can change with renaming and hence the location of the SDK.