Last revision: December 16, 2020
On November 26, 2012, we switched entirely away from llvm on OS X, and went with the HPC (High Performance Computing) gcc 4.8.0. Starting with Catalina, macOS supports 64 bits only, with Xcode gcc based on llvm or clang only. Our old pfe64 continued to work with Catalina, but neither HPM gcc 4.8.0 nor Xcode gcc would build it.
The update process to HPC gcc 9.2.0 using Xcode 11.2.1 under macOS 10.15.1 (Catalina) was not smooth. We got things working via the following steps, which have been updated for, and continue to work with, macOS 11.1 (Big Sur), Xcode 12.3, and HPC gcc 10.2.0:
We gave ourselves ownership of /usr/local with chown -R. That only actually changed the ownership of the tree below /usr/local, not /usr/local itself.
sudo tar -xvf gcc-10.2-bin.tar -C /We did not have to do the following recommendation from the HPC site, but maybe it was inherited on our system from earlier Xcode installs, or maybe it came from the Xcode initialization "Install Extra Components":
"And on Catalina, you may have to specifify an additional include path
-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/includefor the compiler to find the system headers."