macOS
brew install gcc@11local Homebrew formula metadata
sudo port install gcc11MacPorts ports tree · lang/gcc11/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für gcc@11 in AI-Agent-Workflows.
Installation
brew install gcc@11local Homebrew formula metadata
sudo port install gcc11MacPorts ports tree · lang/gcc11/Portfile · Quelle: api.github.com
sudo apt install gcc-11Ubuntu 24.04 LTS package indexes · gcc-11 · Quelle: archive.ubuntu.com
sudo apk add gccAlpine Linux edge package indexes · gcc · Quelle: dl-cdn.alpinelinux.org
sudo apt install gccDebian stable package indexes · gcc · Quelle: deb.debian.org
sudo dnf install gccFedora Rawhide package metadata · gcc · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#gccnixpkgs package indexes · gcc · Quelle: raw.githubusercontent.com
sudo pacman -S gccArch Linux sync databases · gcc · Quelle: geo.mirror.pkgbuild.com
sudo zypper install gccopenSUSE Tumbleweed package metadata · gcc · Quelle: download.opensuse.org
scoop install main/gccScoop official bucket manifest trees · bucket/gcc.json · Quelle: api.github.com
Überblick
GNU compiler collection
Verlauf
GCC 11 is the Homebrew versioned packaging line for the GCC 11 release series. Like gcc@10, it preserves a specific GNU Compiler Collection major version for projects that need a stable compiler generation.
The official GCC timeline lists GCC 11.1 on April 27, 2021, then 11.2 in July 2021, 11.3 in April 2022, 11.4 in May 2023, and 11.5 in July 2024. The GCC 11 change notes call out a default C++ mode change to gnu++17, new diagnostic column behavior, sanitizer improvements, DWARF 5 debug information defaults for many targets, and a C++11-capable host compiler requirement for building GCC itself.
Versioned GCC 11 packages became useful as distributions and users moved past GCC 10 but still needed to pin a compiler before later GCC majors. For package managers, a versioned formula lets recipes and local builds request gcc-11, g++-11, or gfortran-11 without making the whole system follow that major.
The Homebrew package exposes version-suffixed tools such as cpp-11, gcov-11, lto-dump-11, and target-prefixed gcc/g++/gfortran executables. Upstream source control uses the same GCC repository with release branches such as releases/gcc-11 and release tags documented by the GCC Git page.
gcc@11 is important as a compatibility and migration package: it carries the first GCC major where gnu++17 became the default C++ mode, while still giving packagers a pinned compiler older than the newest GCC line.
Sicherheitslage
Für gcc@11 wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
aarch64-apple-darwin23-c++-11 | cli | globales Executable | |
aarch64-apple-darwin23-gcc-11 | cli | globales Executable | |
aarch64-apple-darwin23-gcc-ar-11 | cli | globales Executable | |
aarch64-apple-darwin23-gcc-nm-11 | cli | globales Executable | |
aarch64-apple-darwin23-gcc-ranlib-11 | cli | globales Executable | |
aarch64-apple-darwin23-gfortran-11 | cli | globales Executable | |
cpp-11 | cli | globales Executable | |
gcov-11 | cli | globales Executable | |
gcov-dump-11 | cli | globales Executable | |
gcov-tool-11 | cli | globales Executable | |
lto-dump-11 | cli | globales Executable |
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.
Installationsmetadaten
| Paketschlüssel | brew:gcc@11 |
|---|---|
| Version | 11.5.0 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/gcc@11 |
| Homepage | https://gcc.gnu.org/ |
| Repository | https://gcc.gnu.org/git/gcc.git |
| Upstream-Dokumentation | https://gcc.gnu.org/install |
| Lizenz | GPL-3.0-or-later WITH GCC-exception-3.1 |
| Quellarchiv | https://ftpmirror.gnu.org/gnu/gcc/gcc-11.5.0/gcc-11.5.0.tar.xz |
| Zuletzt aktualisiert | 2026-07-03T16:37:19-04:00 |
| Pulse | updated |
| Abhängigkeiten | gmp, isl, libmpc, mpfr, zstd |
| Bottle | verfügbar (auf arm64_linux, arm64_monterey, arm64_sonoma, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gcc@11 |
| Version Scheme | 0 |
| Revision | 0 |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
cpp-11 11.4.0-9ubuntu1
GNU C preprocessor
sudo apt install cpp-11cpp-11-doc 11.4.0-9ubuntu1
Documentation for the GNU C preprocessor (cpp)
sudo apt install cpp-11-docg++-11 11.4.0-9ubuntu1
GNU C++ compiler
sudo apt install g++-11g++-11-multilib 11.4.0-9ubuntu1
GNU C++ compiler (multilib support)
sudo apt install g++-11-multilibgcc-11 11.4.0-9ubuntu1
GNU C compiler
sudo apt install gcc-11gcc-11-base 11.4.0-9ubuntu1
GCC, the GNU Compiler Collection (base package)
sudo apt install gcc-11-basegcc-11-doc 11.4.0-9ubuntu1
Documentation for the GNU compilers (gcc, gobjc, g++)
sudo apt install gcc-11-docgcc-11-hppa64-linux-gnu 11.4.0-9ubuntu1
GNU C compiler (cross compiler for hppa64)
sudo apt install gcc-11-hppa64-linux-gnugcc-11-locales 11.4.0-9ubuntu1
GCC, the GNU compiler collection (native language support files)
sudo apt install gcc-11-localesgcc-11-multilib 11.4.0-9ubuntu1
GNU C compiler (multilib support)
sudo apt install gcc-11-multilibgcc-11-offload-amdgcn 11.4.0-9ubuntu1
GCC offloading compiler to GCN
sudo apt install gcc-11-offload-amdgcngcc-11-offload-nvptx 11.4.0-9ubuntu1
GCC offloading compiler to NVPTX
sudo apt install gcc-11-offload-nvptxgcc-11-plugin-dev 11.4.0-9ubuntu1
Files for GNU GCC plugin development.
sudo apt install gcc-11-plugin-devgcc-11-source 11.4.0-9ubuntu1
Source of the GNU Compiler Collection
sudo apt install gcc-11-sourcegcc-11-test-results 11.4.0-9ubuntu1
Test results for the GCC test suite
sudo apt install gcc-11-test-resultsgccbrig-11 11.4.0-9ubuntu1
GNU BRIG (HSA IL) frontend
sudo apt install gccbrig-11Quellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.