# GNU Compiler Collection

From ArchWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Related articles

- LLVM

The GNU Compiler Collection (GCC) is part of the GNU toolchain and includes front ends for C and C++.

## Installation

Install the gcc package.

Other available front-ends are:

- gcc-ada for Ada
- gcc-d for D
- gcc-fortran for Fortran
- gcc-go for Go
- gcc-objc for Objective-C

### Old versions

Old versions of GCC are available via the official repositories and the AUR and may be useful for historical curiosity, old projects that cannot be compiled on the current versions, or for testing the compatibility of projects:

- GCC 4.3: gcc43AUR
- GCC 4.4: gcc44AUR
- GCC 4.5: gcc45AUR
- GCC 4.6: gcc46AUR
- GCC 4.7: gcc47AUR
- GCC 4.8: gcc48AUR
- GCC 4.9: gcc49AUR
- GCC 5: gcc5AUR
- GCC 6: gcc6AUR
- GCC 7: gcc7AUR
- GCC 8: gcc8AUR
- GCC 9: gcc9AUR
- GCC 10: gcc10

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.

## See also

- Info manual
- Official website
- gcc(1)

Categories:

- Development
- GNU