gcc
Read-only mirror of GCC, the GNU Compiler Collection, one of the most widely used compilers in the world, translating C, C++, and other languages into executable programs.
This repository is a mirror of the GNU Compiler Collection, commonly known as GCC. A compiler is a program that translates source code written by a developer into machine instructions that a computer can actually run. GCC handles that job for several programming languages and has been a foundational piece of software infrastructure for decades. It is one of the most widely used compiler toolchains in existence, forming the build backbone of countless operating systems and applications.
The project is free software, meaning anyone can use, study, modify, and redistribute it under the terms described in the COPYING files included in the repository. Some of the runtime libraries and manuals carry slightly different terms, and the relevant source files each note which applies.
The README points to an INSTALL directory for setup instructions, available as both HTML and plain text. The source for those instructions is a documentation file within the gcc/doc directory. Usage information and porting guidance live in another documentation file in the same location, and an online-readable version of the manual exists in the gcc/doc directory as well. Bug reports are directed to the project's official tracker at gcc.gnu.org.
Because this is a mirror rather than the primary development home, contributions and active issue tracking happen upstream rather than through this GitHub copy. The star count reflects how often developers reference or bookmark it here, not activity on the mirror itself.
The README is intentionally brief and serves mainly as an orientation for someone who has just cloned the source. Deeper technical documentation lives inside the repository's doc directory and on the GCC project website.
Where it fits
- Build GCC from source to compile programs on a new CPU architecture or operating system.
- Study compiler internals to understand how C and C++ source code is translated to machine instructions.
- Reference the GCC source when debugging unexpected compiler behavior or optimization output.
- Port GCC to a new platform or contribute a new language frontend to the collection.