GNU Compiler Collection
Appearance
From ArchWiki
The GNU Compiler Collection (GCC) is part of the GNU toolchain and includes front ends for C and C++.
Installation
Other available front-ends are:
- gcc-ada for Ada
- gcc-gcobol for Cobol
- gcc-d for D
- gcc-fortran for Fortran
- gcc-go for Go
- gcc-m2 for Modula-2
- gcc-objc for Objective-C
- gcc-rust for Rust
Old versions
Old versions of GCC may be useful for historical curiosity, old projects that cannot be compiled on the current versions, or for testing the compatibility of projects:
- GCC 14: gcc14 AUR
- GCC 13: gcc13 AUR
- GCC 12: gcc12 AUR
- GCC 11: gcc11 AUR
- GCC 10: gcc10 AUR
- GCC 9: gcc9 AUR
- GCC 8: gcc8 AUR
- GCC 7: gcc7 AUR
- GCC 6: gcc6 AUR
- GCC 5: gcc5 AUR
- GCC 4.9: gcc49 AUR
- GCC 4.8: gcc48 AUR
- GCC 4.7: gcc47 AUR
- GCC 4.6: gcc46 AUR
- GCC 4.5: gcc45 AUR
- GCC 4.4: gcc44 AUR
- GCC 4.3: gcc43 AUR
Other front-ends for old versions of GCC may be found on the official repositories and the AUR by searching for gcc<version_without_period>, e.g. searching for gcc9 for GCC 9 front-ends.
Tip Use the
CC (for C)[1] and CXX (for C++)[2] environment variables to specify which version of GCC will be used with e.g make or cmake. For example: $ export CC=gcc-12 CXX=g++-12