brew install gccAlso known as: gcc@12, gfortran
GNU compiler collection
License: GPL-3.0-or-later with GCC-exception-3.1
Formula JSON API: /api/formula/gcc.json
Bottle JSON API: /api/bottle/gcc.json
Formula code: gcc.rb on GitHub
Bottle (binary package) installation support provided for:
| Intel | monterey | ✅ |
|---|---|---|
| big sur | ✅ | |
| catalina | ✅ | |
| 64-bit linux | ✅ | |
| Apple Silicon | monterey | ✅ |
| big sur | ✅ | |
Current versions:
| stable | ✅ | 12.1.0 |
| head | ⚡️ | HEAD |
Other versions:
| gcc@11 | 11.3.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.25 | 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.2 | Zstandard is a real-time compression algorithm |
Analytics (macOS):
| Installs (30 days) | |
|---|---|
gcc |
115,824 |
gcc --HEAD |
148 |
| Installs on Request (30 days) | |
gcc |
54,181 |
gcc --HEAD |
148 |
| Build Errors (30 days) | |
gcc |
139 |
gcc --HEAD |
117 |
| Installs (90 days) | |
gcc |
409,219 |
gcc --HEAD |
378 |
| Installs on Request (90 days) | |
gcc |
193,765 |
gcc --HEAD |
377 |
| Installs (365 days) | |
gcc |
1,428,656 |
gcc --HEAD |
1,567 |
| Installs on Request (365 days) | |
gcc |
655,545 |
gcc --HEAD |
1,567 |
Analytics (Linux):
| Installs (30 days) | |
|---|---|
gcc |
27,748 |
| Installs on Request (30 days) | |
gcc |
15,021 |
| Build Errors (30 days) | |
gcc |
203 |
| Installs (90 days) | |
gcc |
94,505 |
gcc --HEAD |
6 |
| Installs on Request (90 days) | |
gcc |
55,847 |
gcc --HEAD |
6 |
| Installs (365 days) | |
gcc |
282,928 |
gcc --HEAD |
15 |
| Installs on Request (365 days) | |
gcc |
161,833 |
gcc --HEAD |
14 |