GNU Compiler Collection

optimizing compiler produced by the GNU Project, key component of the GNU toolchain and standard compiler for most projects related to GNU and the Linux kernel

The GNU Compiler Collection (also known as GCC) is a free software compiler written as part of the GNU project. It originally only compiled C code into machine language, however, now many frontends have been created to allow it to compile other languages.[4][5]

GNU Compiler Collection
Developer(s)GNU Project
Initial releaseMay 23, 1987; 37 years ago (1987-05-23)[1]
Stable release
14.2[2] Edit this on Wikidata / 1 August 2024; 3 months ago (1 August 2024)
Repository
Written inC with some parts written in C++
Operating systemCross-platform
PlatformGNU
TypeCompiler
LicenseGPLv3+ with GCC Runtime Library Exception[3]
Websitegcc.gnu.org

As well as being the compiler for GNU, it is used by many other projects, most notably many Linux-based operating systems.

Languages

change

GCC supports compiling the following programming languages:[6]

  • C (using the original gcc frontend.)
  • C++ (g++ frontend)
  • Objective-C
  • Objective-C++
  • Fortran
  • Ada
  • Go (gccgo frontend)

References

change
  1. "GCC Releases". GNU Project. Retrieved July 24, 2020.
  2. Jakub Jelínek (1 August 2024). "GCC 14.2 Released". Retrieved 1 August 2024.
  3. "GCC Runtime Library Exception". Retrieved July 24, 2020.
  4. "GCC Development Mission Statement". Free Software Foundation, Inc. 1999-04-22. Retrieved 2021-01-03.
  5. "History - GCC Wiki". gcc.gnu.org. Retrieved 2021-01-03.
  6. "GCC Front Ends". Free Software Foundation, Inc. 2020-09-20. Retrieved 2020-01-03.