https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90834

--- Comment #1 from Iain Sandoe <iains at gcc dot gnu.org> ---
I don't have 10.15 or xcode 11 yet ..

does ...
configure  --prefix ... 
--with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
.....
CC="clang --sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk"
CXX="clang++ --sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk"

work?
(without the symlink hacks)

===

The version-specific /Library/Developer/CommandLineTools/SDKs/MacOSX.10.XX.sdk
is (so far) just a symlink to the generic name

(presumably, you can't make the symlink hacks without switching SIP off 
.. and [IMO] switching SIP off should not be a pre-requisite for building /
testing a toolchain 
FWIW, SIP is on all my systems except a Darwin17 one with VirtualBox which
won't function there under SIP...

* I don't have Xcode installed on most of my systems, nor the command line
tools, so most of my config lines look something like the above [with paths for
the SDK to where I've placed it] (if that no longer works, then ...)

===

(not disagreeing that we need a way to handle this, but neither turning gcc's
driver into xcrun ... nor using several extra process launches, per
invocation.. seems a useful way)

Reply via email to