Automic VaultAutomic Vault

brew

gcc@12 mit Homebrew, apt, MacPorts, apk, dnf, Nix, pacman, zypper, scoop installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für gcc@12 in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install gcc@12

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install gcc12

MacPorts ports tree · lang/gcc12/Portfile · Quelle: api.github.com

Linux

Debian aptverifiziert · 92%
sudo apt install gcc-12

Debian stable package indexes · gcc-12 · Quelle: deb.debian.org

Alpine Linux apkverifiziert · 92%
sudo apk add gcc

Alpine Linux edge package indexes · gcc · Quelle: dl-cdn.alpinelinux.org

Fedora dnfverifiziert · 92%
sudo dnf install gcc

Fedora Rawhide package metadata · gcc · Quelle: dl.fedoraproject.org

Nixverifiziert · 92%
nix profile install nixpkgs#gcc

nixpkgs package indexes · gcc · Quelle: raw.githubusercontent.com

Arch Linux pacmanverifiziert · 92%
sudo pacman -S gcc

Arch Linux sync databases · gcc · Quelle: geo.mirror.pkgbuild.com

openSUSE zypperverifiziert · 92%
sudo zypper install gcc

openSUSE Tumbleweed package metadata · gcc · Quelle: download.opensuse.org

Windows

Scoopverifiziert · 92%
scoop install main/gcc

Scoop official bucket manifest trees · bucket/gcc.json · Quelle: api.github.com

Überblick

Paketzusammenfassung

GNU compiler collection

Befehle und Aliase

  • aarch64-apple-darwin23-c++-12
  • aarch64-apple-darwin23-gcc-12
  • aarch64-apple-darwin23-gcc-ar-12
  • aarch64-apple-darwin23-gcc-nm-12
  • aarch64-apple-darwin23-gcc-ranlib-12
  • aarch64-apple-darwin23-gfortran-12
  • cpp-12
  • gcov-12
  • gcov-dump-12
  • gcov-tool-12
  • lto-dump-12

Verlauf

Projektgeschichte und Nutzung

GCC 12 is a versioned Homebrew package for the GCC 12 release series of the GNU Compiler Collection. It provides the GNU Project compiler suite under major-version-suffixed command names so it can coexist with other GCC lines and platform compilers.

GCC itself is one of the central free-software toolchains: the official project describes it as the GNU Compiler Collection, with front ends for C, C++, Objective-C, Fortran, Ada, Go, D, Modula-2, COBOL, Rust, and Algol 68, plus runtime libraries such as libstdc++.

Projektgeschichte

GCC began as the GNU C Compiler. The GCC project history records the first beta release on March 22, 1987, by Richard Stallman, originally for the GNU operating system and initially centered on C.

During the 1990s, GCC grew beyond C into a multi-language compiler suite. The official GCC 2.95 page notes that the name changed from GNU C Compiler to GNU Compiler Collection because the compiler supported several languages beyond C.

A major governance and development milestone was the EGCS fork in 1997, created to merge active GCC development work from several communities. GCC and EGCS were reunified in April 1999, and GCC 2.95 was the first release after that reunification.

Adoptionsgeschichte

GCC became widely adopted because it was both the GNU system compiler and an openly developed, portable optimizing compiler. The current mission statement emphasizes support for many platforms, many architectures, open mailing lists, and participation by individuals and companies.

The GCC 12 package represents package-manager demand for a stable major compiler series rather than only the newest compiler. Official release branches and tags make these major lines easy for distributors and users to pin, audit, and rebuild.

Wie es verwendet wird

As packaged here, GCC 12 exposes version-suffixed compiler tools such as gcc-12, g++-12, cpp-12, gcov-12, and gfortran-12, depending on the platform package. This lets users select the intended compiler line explicitly in build scripts.

Official GCC installation documentation covers downloading sources, configuring, building, testing, and final installation, while the online manuals document compiler invocation, language front ends, runtime libraries, and toolchain options.

The GCC 12 change notes highlight compiler-infrastructure shifts useful to package users, including vectorization enabled at -O2 and expanded OpenMP/OpenACC support.

Warum Paket-Nerds sich dafür interessieren

Versioned GCC packages matter because compilers are infrastructure, not leaf applications. A build may need a particular major GCC for language support, libstdc++ behavior, Fortran ABI expectations, sanitizer behavior, or target support, while another project on the same machine needs a different line.

The official Git repository page documents release branches and release tags, which is exactly the provenance package maintainers need when mapping formula names such as gcc@12 or gcc@15 to upstream source history.

Zeitleiste

  • 1987: First GCC beta release as the GNU C Compiler
  • 1997: EGCS fork announced as an experimental GCC development project
  • 1999: GCC and EGCS reunified; GCC 2.95 released after reunification
  • 2022: GCC 12.1 released on May 6
  • 2025: GCC 12.5 released on July 11

Related projects

  • EGCS is the historically important GCC fork that was later reunified with GCC.
  • Related components within the GCC distribution include libstdc++, GFortran, GOMP/libgomp, GCC Go, GDC, GM2, and newer front ends documented on the official GCC site.
  • GCC is part of the wider GNU toolchain ecosystem and is commonly used with source-control, build, and generated-file tooling such as Git, Autoconf, Bison, Automake, Xgettext, and Gperf, all mentioned in GCC source-tree documentation.

Sicherheitslage

Noch keine Protected-Tool-Abdeckung gefunden

Für gcc@12 wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.

Installationsverhalten

  • Homebrew deklariert einen Post-install-Hook für diese Formel.
  • Homebrew-Bottle-Metadaten sind für 7 Plattformziele verfügbar.
  • Installiert mit 5 Laufzeitabhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
aarch64-apple-darwin23-c++-12cliglobales Executable
aarch64-apple-darwin23-gcc-12cliglobales Executable
aarch64-apple-darwin23-gcc-ar-12cliglobales Executable
aarch64-apple-darwin23-gcc-nm-12cliglobales Executable
aarch64-apple-darwin23-gcc-ranlib-12cliglobales Executable
aarch64-apple-darwin23-gfortran-12cliglobales Executable
cpp-12cliglobales Executable
gcov-12cliglobales Executable
gcov-dump-12cliglobales Executable
gcov-tool-12cliglobales Executable
lto-dump-12cliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-10
Manager-Version12.5.0
Manager aktualisiert2026-06-25
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://gcc.gnu.org/

  • InfoRelease/tag comparison is only available for GitHub repositories.https://gcc.gnu.org/none Konfidenz

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:gcc@12
Version12.5.0
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/gcc@12
Homepagehttps://gcc.gnu.org/
Repositoryhttps://gcc.gnu.org/git/gcc.git
Upstream-Dokumentationhttps://gcc.gnu.org/install
LizenzGPL-3.0-or-later WITH GCC-exception-3.1
Quellarchivhttps://ftpmirror.gnu.org/gnu/gcc/gcc-12.5.0/gcc-12.5.0.tar.xz
Zuletzt aktualisiert2026-06-25T13:37:41+02:00
Pulseupdated
Abhängigkeitengmp, isl, libmpc, mpfr, zstd
Bottleverfügbar (auf arm64_linux, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux)
Homebrew post-installdefiniert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegcc@12
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Debian apt95%

cpp-12 12.4.0-5

GNU C preprocessor

http://gcc.gnu.org/

sudo apt install cpp-12
  • Section: interpreters
  • Architecture: amd64
  • Source Package: gcc-12
  • 8 Abhängigkeiten
  • 2 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Gcc 12
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cpp-12 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

g++-12 12.4.0-5

GNU C++ compiler

http://gcc.gnu.org/

sudo apt install g++-12
  • Section: devel
  • Architecture: amd64
  • Source Package: gcc-12
  • 10 Abhängigkeiten
  • 2 stellt bereit
  • 2 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Gcc 12
Debian stable package indexes · deb.debian.org · Debian stable package indexes: g++-12 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

g++-12-multilib 12.4.0-5

GNU C++ compiler (multilib support)

http://gcc.gnu.org/

sudo apt install g++-12-multilib
  • Section: devel
  • Architecture: amd64
  • Source Package: gcc-12
  • 5 Abhängigkeiten
  • 2 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Gcc 12
Debian stable package indexes · deb.debian.org · Debian stable package indexes: g++-12-multilib from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gcc-12 12.4.0-5

GNU C compiler

http://gcc.gnu.org/

sudo apt install gcc-12
  • Section: devel
  • Architecture: amd64
  • 14 Abhängigkeiten
  • 1 stellt bereit
  • 4 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Gcc 12
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gcc-12 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gcc-12-base 12.4.0-5

GCC, the GNU Compiler Collection (base package)

http://gcc.gnu.org/

sudo apt install gcc-12-base
  • Section: libs
  • Architecture: amd64
  • Source Package: gcc-12
  • normalized package name match
  • Abgeglichen nach: Gcc 12
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gcc-12-base from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gcc-12-hppa64-linux-gnu 12.4.0-5

GNU C compiler (cross compiler for hppa64)

http://gcc.gnu.org/

sudo apt install gcc-12-hppa64-linux-gnu
  • Section: devel
  • Architecture: amd64
  • Source Package: gcc-12
  • 11 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Gcc 12
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gcc-12-hppa64-linux-gnu from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gcc-12-locales 12.4.0-5

GCC, the GNU compiler collection (native language support files)

http://gcc.gnu.org/

sudo apt install gcc-12-locales
  • Section: devel
  • Architecture: all
  • Source Package: gcc-12
  • 2 Abhängigkeiten
  • 1 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Gcc 12
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gcc-12-locales from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gcc-12-multilib 12.4.0-5

GNU C compiler (multilib support)

http://gcc.gnu.org/

sudo apt install gcc-12-multilib
  • Section: devel
  • Architecture: amd64
  • Source Package: gcc-12
  • 6 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Gcc 12
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gcc-12-multilib from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gcc-12-offload-amdgcn 12.4.0-5

GCC offloading compiler to GCN

http://gcc.gnu.org/

sudo apt install gcc-12-offload-amdgcn
  • Section: devel
  • Architecture: amd64
  • Source Package: gcc-12
  • 11 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Gcc 12
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gcc-12-offload-amdgcn from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gcc-12-offload-nvptx 12.4.0-5

GCC offloading compiler to NVPTX

http://gcc.gnu.org/

sudo apt install gcc-12-offload-nvptx
  • Section: devel
  • Architecture: amd64
  • Source Package: gcc-12
  • 11 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Gcc 12
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gcc-12-offload-nvptx from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gcc-12-plugin-dev 12.4.0-5

Files for GNU GCC plugin development.

http://gcc.gnu.org/

sudo apt install gcc-12-plugin-dev
  • Section: devel
  • Architecture: amd64
  • Source Package: gcc-12
  • 5 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Gcc 12
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gcc-12-plugin-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gcc-12-source 12.4.0-5

Source of the GNU Compiler Collection

http://gcc.gnu.org/

sudo apt install gcc-12-source
  • Section: devel
  • Architecture: all
  • Source Package: gcc-12
  • 10 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Gcc 12
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gcc-12-source from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gcc-12-test-results 12.4.0-5

Test results for the GCC test suite

http://gcc.gnu.org/

sudo apt install gcc-12-test-results
  • Section: devel
  • Architecture: amd64
  • Source Package: gcc-12
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Gcc 12
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gcc-12-test-results from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gccgo-12 12.4.0-5

GNU Go compiler

http://gcc.gnu.org/

sudo apt install gccgo-12
  • Section: devel
  • Architecture: amd64
  • Source Package: gcc-12
  • 12 Abhängigkeiten
  • 1 stellt bereit
  • 1 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Gcc 12
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gccgo-12 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gccgo-12-multilib 12.4.0-5

GNU Go compiler (multilib support)

http://gcc.gnu.org/

sudo apt install gccgo-12-multilib
  • Section: devel
  • Architecture: amd64
  • Source Package: gcc-12
  • 5 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Gcc 12
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gccgo-12-multilib from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gdc-12 12.4.0-5

GNU D compiler (version 2)

http://gcc.gnu.org/

sudo apt install gdc-12
  • Section: devel
  • Architecture: amd64
  • Source Package: gcc-12
  • 10 Abhängigkeiten
  • 3 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Gcc 12
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gdc-12 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Nucleus package database
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment