gcc
brew install gccAlso known as: gcc@16, gfortran
GNU compiler collection
License: GPL-3.0-or-later WITH GCC-exception-3.1
Development: Pull requests
Formula JSON API: /api/formula/gcc.json
Formula code: gcc.rb on GitHub
Bottle (binary package) installation support provided for:
| macOS on Apple Silicon |
golden gate | ✅ |
|---|---|---|
| tahoe | ✅ | |
| sequoia | ✅ | |
| sonoma | ✅ | |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ |
Current versions:
| stable | ✅ | 16.2.0 |
| head | ⚡️ | HEAD |
Other versions:
| gcc@15 | 15.3.0 | GNU compiler collection |
| gcc@14 | 14.4.0 | GNU compiler collection |
| gcc@13 | 13.4.0 | GNU compiler collection |
| gcc@12 | 12.5.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 |
Depends on:
| gmp | 6.3.0 | GNU multiple precision arithmetic library |
| isl | 0.28 | Integer Set Library for the polyhedral model |
| libmpc | 1.4.1 | C library for the arithmetic of high precision complex numbers |
| mpfr | 4.2.2 | C library for multiple-precision floating-point computations |
| zstd | 1.5.7 | Zstandard is a real-time compression algorithm |
Depends on when building from source:
| make | 4.4.1 | Utility for directing compilation |
Uses from macOS: flex (build), m4 (build)
Binaries:
c++-16,
cpp-16,
g++-16,
gcc-16,
gcc-ar-16,
gcc-nm-16,
gcc-ranlib-16,
gcov-16,
gcov-dump-16,
gcov-tool-16,
gfortran,
gfortran-16,
gm2,
gm2-16,
lto-dump-16,
x86_64-pc-linux-gnu-c++-16,
x86_64-pc-linux-gnu-g++-16,
x86_64-pc-linux-gnu-gcc-16,
x86_64-pc-linux-gnu-gcc-ar-16,
x86_64-pc-linux-gnu-gcc-nm-16,
x86_64-pc-linux-gnu-gcc-ranlib-16,
x86_64-pc-linux-gnu-gfortran-16,
x86_64-pc-linux-gnu-gm2-16
Analytics:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 96,387 | 295,808 | 1,075,433 |
Installs (--HEAD) | 39 | 109 | 546 |
| Installs on Request | 32,239 | 99,442 | 555,451 |
Installs on Request (--HEAD) | 37 | 105 | 535 |
| Build Errors | 3,457 | ||
Build Errors (--HEAD) | 7 |