Install command:
brew install gcc

Also known as: gcc@11, gfortran

GNU compiler collection


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

/api/formula/gcc.json (JSON API)

/api/bottle/gcc.json (Bottle JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel big sur
64-bit linux
Apple Silicon big sur

Current versions:

stable 11.2.0
head ⚡️ HEAD

Other versions:

gcc@10 10.3.0 GNU compiler collection
gcc@9 9.4.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
gcc@4.9 4.9.4 GNU Compiler Collection

Depends on:

gmp 6.2.1 GNU multiple precision arithmetic library
isl 0.24 Integer Set Library for the polyhedral model
libmpc 1.2.1 C library for the arithmetic of high precision complex numbers
mpfr 4.1.0 C library for multiple-precision floating-point computations
zstd 1.5.0 Zstandard is a real-time compression algorithm


Installs (30 days)
gcc 82,147
gcc --HEAD 135
Installs on Request (30 days)
gcc 33,079
gcc --HEAD 136
Build Errors (30 days)
gcc 214
gcc --HEAD 32
Installs (90 days)
gcc 328,001
gcc --HEAD 478
Installs on Request (90 days)
gcc 146,601
gcc --HEAD 470
Installs (365 days)
gcc 1,306,018
gcc --HEAD 1,811
gcc --without-multilib 3
Installs on Request (365 days)
gcc 603,506
gcc --HEAD 1,796
Fork me on GitHub