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 enviro

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 rem

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 suppose

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 alread

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 passin

Re: Pick up SDKROOT as the sysroot fallback.

2019-10-13 Thread Christopher Jones
>> avoid hard coding the SDKROOT path in the compiler during the build. >> >> [Darwin, committed] Pick up SDKROOT as the sysroot fallback. >> <https://gcc.gnu.org/ml/gcc-patches/2019-10/msg00251.html> >> >> Jack smime.p7s Description: S/MIME cryptographic signature

Re: Pick up SDKROOT as the sysroot fallback.

2019-10-13 Thread Jack Howarth
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 in the compiler during the build. > > [Darwin, committed] Pick

Re: Pick up SDKROOT as the sysroot fallback.

2019-10-13 Thread Chris Jones
g the SDKROOT path in the compiler during the build. > > [Darwin, committed] Pick up SDKROOT as the sysroot fallback. > > Jack

Pick up SDKROOT as the sysroot fallback.

2019-10-13 Thread Jack Howarth
We might want to back port this patch into out gcc9 package in order to avoid hard coding the SDKROOT path in the compiler during the build. [Darwin, committed] Pick up SDKROOT as the sysroot fallback. <https://gcc.gnu.org/ml/gcc-patches/2019-10/msg00251.html> Jack