gcc

Install command:
brew install gcc

Also known as: gcc@14, gfortran

GNU compiler collection

https://gcc.gnu.org/

License: GPL-3.0-or-later WITH GCC-exception-3.1

Formula JSON API: /api/formula/gcc.json

Formula code: gcc.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon sequoia
sonoma
ventura
monterey
Intel sonoma
ventura
monterey
64-bit linux

Current versions:

stable 14.2.0
head ⚡️ HEAD

Other versions:

gcc@13 13.3.0 GNU compiler collection
gcc@12 12.4.0 GNU compiler collection
gcc@11 11.5.0 GNU compiler collection
gcc@10 10.5.0 GNU compiler collection
gcc@9 9.5.0 GNU compiler collection
gcc@8 8.5.0 GNU compiler collection
gcc@7 7.5.0 GNU compiler collection
gcc@6 6.5.0 GNU compiler collection
gcc@5 5.5.0 GNU Compiler Collection

Depends on:

gmp 6.3.0 GNU multiple precision arithmetic library
isl 0.27 Integer Set Library for the polyhedral model
libmpc 1.3.1 C library for the arithmetic of high precision complex numbers
mpfr 4.2.1 C library for multiple-precision floating-point computations
zstd 1.5.6 Zstandard is a real-time compression algorithm

Depends on when building from source:

make 4.4.1 Utility for directing compilation

Analytics:

Installs (30 days)
gcc 155,510
gcc --HEAD 162
Installs on Request (30 days)
gcc 73,992
gcc --HEAD 161
Build Errors (30 days)
gcc 512
gcc --HEAD 71
Installs (90 days)
gcc 453,765
gcc --HEAD 372
Installs on Request (90 days)
gcc 201,261
gcc --HEAD 371
Installs (365 days)
gcc 1,515,257
gcc --HEAD 1,317
Installs on Request (365 days)
gcc 633,931
gcc --HEAD 1,315
Fork me on GitHub