gcc

GNU Compiler Collection for compiling C, C++, Fortran and other languages

brewmacoslinux
Try with needOr install directly
Source

About

GNU compiler collection

Commands

gccg++gfortrangcc-argcc-nmgcc-ranlib

Examples

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