After some googling, I discovered the pages on how to install gcc and gfortran in MacPorts.
There are several versions of gcc available, but all except version 12 returned a warning that their installation would fail. This is probably a MacOS Ventura thing -- is version 12 the version for Ventura?
sudo port install gcc12
worked without too much fuss, not to long to install, and gfortran seems to be part of /usr/local/bin
bin/gfortran-mp-12
sudo port install gcc11 +gfortran; sudo port select --set gcc mp-gcc11
No comments:
Post a Comment