GNU Compiler Collection

gcc.gnu.org ↗

Compile C, C++, and other supported languages into programs for native and cross-target systems.

SI Score
80/100
Pricing
Open Source AI reading, not confirmed
Free plan
Not confirmed
Sign-up required
Not confirmed

Ask SI about GNU Compiler Collection

Answers use saved listing facts and recorded sources.
Homepage screenshot
Screenshot of the GNU Compiler Collection homepage

What it does

The GNU Compiler Collection (GCC) is a family of compilers and related toolchain libraries. Its official project page lists front ends for languages including C, C++, Fortran, Go, Rust, and others. The compiler driver can carry a source file through preprocessing, compilation, assembly, and linking, while its manuals document target-specific options. Developers use GCC to build software locally or as one part of a larger toolchain.

A practical first use is compiling a small source file for the machine where it will run. After installing the compiler for the host platform, a command such as gcc -o hello hello.c asks the compiler driver to process and link hello.c into an output named hello. This is an illustrative invocation based on the documented options, not a command run for this listing. The GCC manual explains that a normal invocation can perform preprocessing, compilation, assembly, and linking, and documents options for selecting standards, targets, and outputs.

For a project with several source files, GCC handles translation and linking, but a separate build system is usually needed to describe file dependencies, generated files, and repeatable project tasks. The same distinction matters for cross-compilation: select a compiler configured for the intended target and consult the target-specific options rather than assuming a host binary will run elsewhere.

The official GCC manual includes the GNU General Public License version 3 text. GCC's runtime libraries and documentation can have separate terms, so inspect the relevant component before redistributing a toolchain. The official source-access page describes the GCC Git repository; its file browser presented an anti-bot challenge during this research, so individual repository files were not inspected.

Strengths

  • One compiler collection provides front ends for many languages, including C, C++, Fortran, Go, and Rust.
  • The compiler driver can handle preprocessing, compilation, assembly, and linking in one documented invocation.
  • The project documents native and cross-target use through its manuals and source repository.

Watch out for

  • GCC is a compiler toolchain, not a project dependency manager or a build-graph orchestrator.
  • Target-specific builds require the appropriate compiler configuration and options; components such as runtime libraries may use separate terms.

Best for

  • Building C, C++, and other supported language projects from source
  • Teams that need a documented compiler toolchain for native or cross-target builds

Sources