December 2017
Beginner to intermediate
470 pages
12h 29m
English
To install the C++ compiler in macOS, simply install Xcode (https://developer.apple.com/xcode/). As we mentioned earlier, it can be installed through the App Store application you should have in your computer.
To install the Fortran compiler, you can use the Homebrew package manager as shown ahead. However, if for some reason it doesn't work, you can also try using the binaries found at GNU's website (https://gcc.gnu.org/wiki/GFortranBinaries):
$ brew install gfortran