Re: gcc/gfortran can't find system library in latest Xcode/Mojave

2019-10-10 Thread Christopher Jones
Hi, Just to add one detail to that below. Part of the problem is Xcode 11 even on maOS10.14 only supplies the 10.15 SDK. gcc when built gets the SDK baked into the default search paths it will use, and because you are (I presume) using gcc binary install it is using the one built on the

Re: gcc/gfortran can't find system library in latest Xcode/Mojave

2019-10-10 Thread Christopher Jones
Hi, Apple has been depreciating shipping the SDK under /usr/include for some time now, and come Xcode11/macOS10.15 they are gone (with Xcode10 they where gone by default but you could add them back). You need to specify the SDK root you need to use. See

gcc/gfortran can't find system library in latest Xcode/Mojave

2019-10-10 Thread David Nicholls
Something Apple did in either the latest update to Mojave or the latest Xcode breaks gfortran's (8.3.0) ability to find the system library. I updated to the latest macports recently, too. gfortran 8.3.0 that compiled code easily under previous versions of Mojave/Xcode/macports now throws an