gcc@14

GNU Compiler Collection v14 for compiling C, C++, Fortran, and more

brewmacoslinux
Try with needOr install directly
Source

About

GNU compiler collection

Commands

gcc-14g++-14gfortran-14gcov-14

Examples

Compile a C program$ gcc-14 -o myprogram myprogram.c
Compile a C++ program with optimization$ g++-14 -O2 -o myapp myapp.cpp
Compile Fortran source code$ gfortran-14 -o program program.f90