Re: Pick up SDKROOT as the sysroot fallback.

2019-10-13 Thread Ken Cunningham
> > Also, note that if you execute the buried clang compilers in > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin > or /Library/Developer/CommandLineTools/usr/bin that they can't find the SDK. > Jack > The logic to add SDKROOT to the

Re: Pick up SDKROOT as the sysroot fallback.

2019-10-13 Thread Jack Howarth
On Sun, Oct 13, 2019 at 4:22 PM Ken Cunningham < ken.cunningham.web...@gmail.com> wrote: > >* I did not want to touch that at this point. The gcc bug report is still > *>* open, as far as I can see. > *>>* If someone wants try a build using —with-build-sysroot instead, they are > *>* very welcome

Re: Pick up SDKROOT as the sysroot fallback.

2019-10-13 Thread Ken Cunningham
> > I did not want to touch that at this point. The gcc bug report is still > > open, as far as I can see. > > > > If someone wants try a build using —with-build-sysroot instead, they are > > very welcome to try... > > > > Cheers chris > > > > Chris, > I'll try your changes with that hunk

Re: Pick up SDKROOT as the sysroot fallback.

2019-10-13 Thread Jack Howarth
On Sun, Oct 13, 2019 at 1:30 PM Chris Jones wrote: > > > On 13 Oct 2019, at 6:20 pm, Jack Howarth > wrote: > >  > Shouldn't that also strip out... > > if {${configure.sdkroot} ne ""} { > # We should be using --with-build-sysroot here. Using > --with-sysroot > # changes the

Re: Pick up SDKROOT as the sysroot fallback.

2019-10-13 Thread Chris Jones
> On 13 Oct 2019, at 6:20 pm, Jack Howarth > wrote: > >  > Shouldn't that also strip out... > > if {${configure.sdkroot} ne ""} { > # We should be using --with-build-sysroot here. Using --with-sysroot > # changes the behavior of the installed gcc to look in that sysroot

Re: Pick up SDKROOT as the sysroot fallback.

2019-10-13 Thread Jack Howarth
Shouldn't that also strip out... if {${configure.sdkroot} ne ""} { # We should be using --with-build-sysroot here. Using --with-sysroot # changes the behavior of the installed gcc to look in that sysroot # by default instead of /. Using --with-build-sysroot is

Re: Pick up SDKROOT as the sysroot fallback.

2019-10-13 Thread Christopher Jones
https://github.com/macports/macports-ports/commit/1850136d289019f3b29a5b24d3ec8ef9b23913ee Chris > On 13 Oct 2019, at 5:49 pm, Kenneth F. Cunningham > wrote: > >> Chris, >> FYI, this has

Re: Pick up SDKROOT as the sysroot fallback.

2019-10-13 Thread Kenneth F. Cunningham
> Chris, > FYI, this has already been committed upstream. > > https://gcc.gnu.org/ml/gcc-cvs/2019-10/msg00148.html > > Jack Yes, this plan is coming along nicely -- some of us know how this came to pass :> I sent that link to Josh a while back when it came out, as support for

Re: Pick up SDKROOT as the sysroot fallback.

2019-10-13 Thread Christopher Jones
Yes, I know. We need a version for the gcc 9.2.0 version/branch, and the master one does not apply directly. cheers Chris > On 13 Oct 2019, at 5:30 pm, Jack Howarth > wrote: > > Chris, > FYI, this has already been committed upstream. > >

Re: Pick up SDKROOT as the sysroot fallback.

2019-10-13 Thread Jack Howarth
Chris, FYI, this has already been committed upstream. https://gcc.gnu.org/ml/gcc-cvs/2019-10/msg00148.html Jack On Sun, Oct 13, 2019 at 12:02 PM Chris Jones wrote: > Hi, > > Interesting thanks . Was wondering about something like this. Let me see > about porting it to the gcc9

Re: Pick up SDKROOT as the sysroot fallback.

2019-10-13 Thread Chris Jones
Hi, Interesting thanks . Was wondering about something like this. Let me see about porting it to the gcc9 build. Chris > On 13 Oct 2019, at 3:24 pm, Jack Howarth > wrote: > >  >We might want to back port this patch into out gcc9 package in order to > avoid hard coding the SDKROOT path