<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" dir="auto" class="">
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">Gcc not showing but fortran is.</div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><br class="">
</div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">I reinstalled Macports after the upgrade fro High Sierra (not from source, using the package from <a href="https://github.com/macports/macports-base/releases/download/v2.5.4/MacPorts-2.5.4-10.14-Mojave.pkg" class="">macOS
 Mojave v10.14</a>), and the normal Xcode procedures, then installed gcc7.</div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><br class="">
</div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">Using port select I set mp-gcc7 as the default: <span style="color: rgb(242, 242, 242); font-family: Monaco; font-size: 14px; background-color: rgba(0, 0, 0, 0.85098);" class="">sudo
 port select --set gcc mp-gcc7</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><br class="">
</div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">gfortran --version   shows the Macports version is installed and the correct version, but…</div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><br class="">
</div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">gcc --version still shows clang as the gcc install (exactly as before I installed gcc7) So I tried installing gcc8, same result.</div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><br class="">
</div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">xcode-select -p says Xcode and the tools are installed correctly. It’s version 10.</div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><br class="">
</div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">Any suggestions?</div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><br class="">
</div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">DN</div>
</div>
</body>
</html>