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

--- Comment #18 from Iain Sandoe <iains at gcc dot gnu.org> ---
FWIW: this was my clang-bootstrapped test of the release candidate:

https://gcc.gnu.org/ml/gcc-testresults/2019-08/msg00645.html

 --prefix=/opt/iains/x86_64-apple-darwin18/gcc-9-wip
 --with-sysroot=/opt/iains/SDKs/darwin18-2 
--enable-languages=all CC='clang --sysroot=/opt/iains/SDKs/darwin18'
CXX='clang++ --sysroot=/opt/iains/SDKs/darwin18'

NOTE: if you have the command line tools installed you do not need to specify
CC and CXX.  The "--with-sysroot=/opt/iains/SDKs/darwin18-2 " is pointing to
exactly the same SDK you have.

i.e. I would expect 

--prefix=/somewhere/you/want/it 
--with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk

to be completely sufficient.

(will review your comments in a moment)

Reply via email to