gcc

gcc-wrapper 15.2.0

GNU Compiler Collection, version 15.2.0 (wrapper script)

<rendered-html><p>The GNU Compiler Collection includes compiler front ends for C, C++, Objective-C, Fortran, OpenMP for C/C++/Fortran, and Ada, as well as libraries for these languages (libstdc++, libgomp,…).</p> <p>GCC development is a part of the GNU Project, aiming to improve the compiler used in the GNU system including the GNU/Linux variant.</p> </rendered-html>

https://gcc.gnu.org/
GNU General Public License v3.0 or later
main program: gccprograms: addr2line, objcopy, cc, strip, ld.bfd, strings, nm, ranlib, readelf, elfedit, objdump, c++filt, dwp, c++, gcc, cpp, ld.gold, gprof, as, g++, ld, size, ar
Platforms (46)
armv7a-netbsdm68k-netbsdaarch64-darwinx86_64-netbsdmicroblazeel-linuxarmv7a-linuxloongarch64-linuxarmv5tel-linux
View source on NixOS/nixpkgs →

Install

Copy into your configuration

NixOS (configuration.nix)
environment.systemPackages = with pkgs; [
  gcc
];
Ad-hoc shell
nix-shell -p gcc
Flake (nix run)
nix run nixpkgs#gcc