Re: [PATCH] Trivial patch to allow bootstrap on MacOS

2019-11-28 Thread Keller, Rainer
Dear Iain, thanks for the quick reply. I wasn’t aware of the ticket 79885. Yes, the intent is to use the same sysroot for build & run. Hmm, the —with-sysroot is from gcc/configure option — not from the main configure. Not wanting to turn this into a bug-report, but… using —with-sysroot instead o

[PATCH] Trivial patch to allow bootstrap on MacOS

2019-11-28 Thread Keller, Rainer
Dear all, the following is required to allow bootstrap in libcc1 during stage3 on MacOS Catalina (10.15). libcc1 invokes g++ with —nostdinc++ MacOS Catalina doesn’t provide /usr/include anymore, instead one builds with: OSX_SDK_VERSION=`xcodebuild -showsdks | grep 'macOS\ 10' | cut -f2- -d'-' | c