GCC
The GNU Compiler Collection, compilers for C, C++, Fortran, Ada, Go, Rust and other languages.
These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.
1 more ways to get GCC
Package managers
- Homebrew
brew install gcc
About GCC
GCC is the GNU Project's compiler collection, originally written as the compiler for the GNU operating system. It includes front ends for C, C++, Objective-C, Objective-C++, Fortran, Ada, Go, D, Modula-2, COBOL, Rust and Algol 68, along with runtime libraries such as libstdc++.
It supports native and cross targets, with GNU/Linux as a main platform. Several release series are maintained in parallel, and sources are available via Git and weekly snapshots. Prebuilt binaries for other systems come from third parties.
Strengths
- Front ends for many languages
- Native and cross-compilation targets
- Several release series maintained in parallel
- Standard compiler on most Linux distributions
Limitations
- Official releases are source only; binaries come from third parties
- Building from source is involved
Details
- Pricing
- FreeFree software from the GNU Project.
- License
- GPL-3.0-or-later
- Developer
- GNU Project
- Platforms
- Linux, Command line
- How it runs
- Downloadable app
- Account
- Not required
- Works offline
- Yes
- Best suited for
- Compiling C, C++ and Fortran code on Linux and other Unix-like systems
- Categories
- Developer tools
- Last verified
- Added
- Provenance
- Facts checked against the developer's own pages and store listings, 1 sources on file.
Alternatives to GCC
Compare allSoftware that can replace GCC for an important use case, and what changes if you switch.
LLVM
A collection of modular compiler and toolchain technologies, including the Clang C and C++ compiler.
LLVM provides the Clang C and C++ compiler with official release binaries and APT and RPM packages on Windows, macOS and Linux, under Apache-2.0 with LLVM exception.
Zig
A general-purpose systems programming language and toolchain that also works as a drop-in C/C++ compiler.
Zig works as a drop-in C and C++ compiler with cross-compilation out of the box and adds its own language, but it is still pre-1.0.
Similar software
Related functionality, not necessarily a direct replacement.
GDB
The GNU Project debugger for inspecting running or crashed programs written in C, C++, Rust and more.
CMake
The de facto standard build system generator for C and C++, producing native build files for whatever toolchain is on the machine.
Meson
An open-source build system for C, C++, Rust and other languages focused on speed and readability.
Ninja
A small, fast build system designed to run build files generated by tools such as CMake.
Valgrind
An instrumentation framework with tools for finding memory and threading bugs and profiling programs.
Compiler Explorer
An interactive web tool that shows the assembly and intermediate output of compiled code.