macOS
brew install gcclocal Homebrew formula metadata
brew
gcc のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install gcclocal Homebrew formula metadata
sudo apk add gccAlpine Linux edge package indexes · gcc · ソース: dl-cdn.alpinelinux.org
sudo dnf install gccFedora Rawhide package metadata · gcc · ソース: dl.fedoraproject.org
nix profile install nixpkgs#gccnixpkgs package indexes · gcc · ソース: raw.githubusercontent.com
sudo pacman -S gccArch Linux sync databases · gcc · ソース: geo.mirror.pkgbuild.com
sudo zypper install gccopenSUSE Tumbleweed package metadata · gcc · ソース: download.opensuse.org
scoop install main/gccScoop official bucket manifest trees · bucket/gcc.json · ソース: api.github.com
概要
GNU compiler collection
履歴
GCC, the GNU Compiler Collection, is the GNU project's long-running compiler suite and one of the central packages in free-software toolchains. It is both a user-facing compiler driver family and a distribution-building dependency for C, C++, Fortran, Objective-C, Ada, Go-related runtime pieces, and other GCC-supported languages and targets.
The official release timeline lists GCC 0.9 as the first beta release in March 1987 and GCC 1.0 in May 1987. The project later absorbed the EGCS line: the timeline records EGCS 1.0 in December 1997, EGCS 1.1.x through March 1999, and GCC 2.95 in July 1999, the release family generally associated with the reunited GCC project.
The GCC mission statement frames the project as part of GNU and explicitly targets the GNU system, GNU/Linux, multiple architectures, and diverse platforms. This open-development and multi-target mission is why GCC became a default compiler in many Unix-like operating systems and remains a package-manager anchor: large parts of a distribution are either built by it, bootstrap it, or carry compatibility logic for it.
Package users normally invoke compiler drivers such as gcc, g++, cpp, gfortran, gcov, and lto-dump, while packagers care about release branches, source tarballs, bootstrapping requirements, generated files in Git checkouts, and runtime-library licensing. The official Git page documents cloning from https://gcc.gnu.org/git/gcc.git, release branches under releases/gcc-N, and release tags such as releases/gcc-X.Y.0.
GCC is package-manager infrastructure, not just another package. It drives ABI compatibility, bootstrap chains, language standard defaults, libstdc++ behavior, cross-compilation targets, build flags, sanitizer support, and the difference between a distribution that can rebuild itself and one that cannot.
セキュリティ状態
compiler and toolchain runtime.
リスク yellow · 信頼度 高 · runtime
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
aarch64-unknown-linux-gnu-c++-15 | cli | グローバル実行可能ファイル | |
aarch64-unknown-linux-gnu-g++-15 | cli | グローバル実行可能ファイル | |
aarch64-unknown-linux-gnu-gcc-15 | cli | グローバル実行可能ファイル | |
aarch64-unknown-linux-gnu-gcc-ar-15 | cli | グローバル実行可能ファイル | |
aarch64-unknown-linux-gnu-gcc-nm-15 | cli | グローバル実行可能ファイル | |
aarch64-unknown-linux-gnu-gcc-ranlib-15 | cli | グローバル実行可能ファイル | |
aarch64-unknown-linux-gnu-gfortran-15 | cli | グローバル実行可能ファイル | |
aarch64-unknown-linux-gnu-gm2-15 | cli | グローバル実行可能ファイル | |
c++-15 | cli | グローバル実行可能ファイル | |
cpp-15 | cli | グローバル実行可能ファイル | |
g++-15 | cli | グローバル実行可能ファイル | |
gcc-15 | cli | グローバル実行可能ファイル | |
gcc-ar-15 | cli | グローバル実行可能ファイル | |
gcc-nm-15 | cli | グローバル実行可能ファイル | |
gcc-ranlib-15 | cli | グローバル実行可能ファイル | |
gcov-15 | cli | グローバル実行可能ファイル | |
gcov-dump-15 | cli | グローバル実行可能ファイル | |
gcov-tool-15 | cli | グローバル実行可能ファイル | |
gfortran | cli | グローバル実行可能ファイル | |
gfortran-15 | cli | グローバル実行可能ファイル | |
gm2 | cli | グローバル実行可能ファイル | |
gm2-15 | cli | グローバル実行可能ファイル | |
lto-dump-15 | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:gcc |
|---|---|
| バージョン | 16.1.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/gcc |
| ホームページ | https://gcc.gnu.org/ |
| リポジトリ | https://gcc.gnu.org/git/gcc.git |
| 上流ドキュメント | https://gcc.gnu.org/onlinedocs |
| ライセンス | GPL-3.0-or-later WITH GCC-exception-3.1 |
| ソースアーカイブ | https://ftpmirror.gnu.org/gnu/gcc/gcc-16.1.0/gcc-16.1.0.tar.xz |
| 最終更新 | 2026-07-03T22:53:05-04:00 |
| Pulse | updated |
| 依存関係 | gmp, isl, libmpc, mpfr, zstd |
| ビルド依存関係 | make |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux) |
| Homebrew post-install | 定義済み |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gcc |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
gcc 4:14.2.0-1
GNU C compiler
sudo apt install gccgcc
nix profile install nixpkgs#gccgcc 4:13.2.0-7ubuntu1
GNU C compiler
sudo apt install gccg++ 15.2.0-r5
GNU C++ standard library and compiler
sudo apk add g++gcc 15.2.0-r5
The GNU Compiler Collection
sudo apk add gccgcc-doc 15.2.0-r5
The GNU Compiler Collection (documentation)
sudo apk add gcc-docgcc-gdb 15.2.0-r5
The GNU Compiler Collection (gdb printers)
sudo apk add gcc-gdbgcc-gdc 15.2.0-r5
GCC-based D language compiler
sudo apk add gcc-gdcgcc-gnat 15.2.0-r5
Ada support for GCC
sudo apk add gcc-gnatgcc-go 15.2.0-r5
GCC Go frontend (intended for bootstrapping community/go)
sudo apk add gcc-gogcc-objc 15.2.0-r5
GNU Objective-C
sudo apk add gcc-objcgfortran 15.2.0-r5
GNU Fortran Compiler
sudo apk add gfortranlibatomic 15.2.0-r5
GCC Atomic library
sudo apk add libatomiclibgcc 15.2.0-r5
GNU C compiler runtime libraries
sudo apk add libgcclibgcc-static 15.2.0-r5
GNU C compiler runtime libraries
sudo apk add libgcc-staticlibgccjit 15.2.0-r5
GCC JIT Library
sudo apk add libgccjitソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.