Install command:
brew install gcc

Also known as: gcc@13, gfortran

GNU compiler collection


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:

Intel ventura
big sur
64-bit linux
Apple Silicon ventura
big sur

Current versions:

stable 13.1.0
head ⚡️ HEAD

Other versions:

gcc@12 12.3.0 GNU compiler collection
gcc@11 11.4.0 GNU compiler collection
gcc@10 10.4.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
gcc@4.9 4.9.4 GNU Compiler Collection

Depends on:

gmp 6.2.1 GNU multiple precision arithmetic library
isl 0.26 Integer Set Library for the polyhedral model
libmpc 1.3.1 C library for the arithmetic of high precision complex numbers
mpfr 4.2.0-p9 C library for multiple-precision floating-point computations
zstd 1.5.5 Zstandard is a real-time compression algorithm


Installs (30 days)
gcc 222,619
Installs on Request (30 days)
gcc 61,488
Build Errors (30 days)
gcc 201

Analytics (macOS):

Installs (90 days)
gcc 6,095
gcc --HEAD 6
Installs on Request (90 days)
gcc 3,725
gcc --HEAD 6
Installs (365 days)
gcc 990,415
gcc --HEAD 938
Installs on Request (365 days)
gcc 483,932
gcc --HEAD 936

Analytics (Linux):

Installs (90 days)
gcc 2,554
Installs on Request (90 days)
gcc 72
Installs (365 days)
gcc 416,770
gcc --HEAD 20
Installs on Request (365 days)
gcc 162,322
gcc --HEAD 20
Fork me on GitHub