gcc@9

GNU Compiler Collection version 9 for C, C++, and Fortran

brewmacoslinux
Try with needOr install directly
Source

About

GNU compiler collection

Commands

gcc-9g++-9gfortran-9gcov-9

Examples

Compile a C program$ gcc-9 -o program program.c
Compile a C++ program with optimization$ g++-9 -O2 -o app main.cpp
Compile Fortran code$ gfortran-9 -o executable program.f90