Aha! That did it! Thanks. I was getting bit worried.
DN > On 19 Oct 2018, at 9:47 pm, Chris Jones <[email protected]> wrote: > > > Try starting a new bash shell and checking there... > > On 19/10/18 10:55, David Nicholls wrote: >> Gcc not showing but fortran is. >> I reinstalled Macports after the upgrade fro High Sierra (not from source, >> using the package from macOS Mojave v10.14 >> <https://github.com/macports/macports-base/releases/download/v2.5.4/MacPorts-2.5.4-10.14-Mojave.pkg>), >> and the normal Xcode procedures, then installed gcc7. >> Using port select I set mp-gcc7 as the default: sudo port select --set gcc >> mp-gcc7 >> gfortran --version shows the Macports version is installed and the correct >> version, but… >> gcc --version still shows clang as the gcc install (exactly as before I >> installed gcc7) So I tried installing gcc8, same result. >> xcode-select -p says Xcode and the tools are installed correctly. It’s >> version 10. >> Any suggestions? >> DN
