

Make soft/symbolic links: ln -sf gfortran-12 gfortran. Make soft/symbolic links: ln -s gcc-12 gcc and ln -s g++-12 g++.Ĭheck the gcc and g++ priorities and location: where gcc.Įxit and reinitiate the terminal, type in gcc -version returns the GCC 12.1 version through Homebrew installation.Ĭheck the version of gfortran: gfortran -version, still point to old version gfortran-11 within gcc-11. Go to its install location: cd /opt/homebrew/bin. Install GCC 12.1: brew install GCC 12.1 installation: gcc-12 -version. Open Terminal and check gcc -version, returns clang compiler only. GNU Compiler Collection GCC 12.1 was released on that support Fortran compilers on AArch64 (i.e., ARM64) architectures.

This challenges developers who need to use Intel Fortran Compiler which only supports products using Intel processors.

In the other side, Intel introduced Intel oneAPI – an unified and cross-architecture performance programming model, without supporting new Apple chips. Thus, the 15-year partnership with Intel is about to be ended. Apple began the transition from Intel processors to Apple silicon (i.e., Apple M1 ARM64) in Mac computers.
