macOS
brew install gcc@9local Homebrew formula metadata
sudo port install gcc9MacPorts ports tree · lang/gcc9/Portfile · ソース: api.github.com
brew
gcc@9 のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install gcc@9local Homebrew formula metadata
sudo port install gcc9MacPorts ports tree · lang/gcc9/Portfile · ソース: api.github.com
sudo apt install gcc-9Ubuntu 24.04 LTS package indexes · gcc-9 · ソース: archive.ubuntu.com
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 9 is a versioned Homebrew package for the GCC 9 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++.
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.
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 9 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.
As packaged here, GCC 9 exposes version-suffixed compiler tools such as gcc-9, g++-9, cpp-9, gcov-9, and gfortran-9, 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 9 change notes include package-relevant diagnostic and tooling improvements such as JSON diagnostic output, shell completion support, live-patching options, and source-location display improvements.
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.
セキュリティ状態
gcc@9 に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
c++-9 | cli | グローバル実行可能ファイル | |
cpp-9 | cli | グローバル実行可能ファイル | |
g++-9 | cli | グローバル実行可能ファイル | |
gcc-9 | cli | グローバル実行可能ファイル | |
gcc-ar-9 | cli | グローバル実行可能ファイル | |
gcc-nm-9 | cli | グローバル実行可能ファイル | |
gcc-ranlib-9 | cli | グローバル実行可能ファイル | |
gcov-9 | cli | グローバル実行可能ファイル | |
gcov-dump-9 | cli | グローバル実行可能ファイル | |
gcov-tool-9 | cli | グローバル実行可能ファイル | |
gfortran-9 | cli | グローバル実行可能ファイル | |
x86_64-apple-darwin20-c++-9 | cli | グローバル実行可能ファイル | |
x86_64-apple-darwin20-g++-9 | cli | グローバル実行可能ファイル | |
x86_64-apple-darwin20-gcc-9 | cli | グローバル実行可能ファイル | |
x86_64-apple-darwin20-gcc-9.5.0 | cli | グローバル実行可能ファイル | |
x86_64-apple-darwin20-gcc-ar-9 | cli | グローバル実行可能ファイル | |
x86_64-apple-darwin20-gcc-nm-9 | cli | グローバル実行可能ファイル | |
x86_64-apple-darwin20-gcc-ranlib-9 | cli | グローバル実行可能ファイル | |
x86_64-apple-darwin20-gfortran-9 | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:gcc@9 |
|---|---|
| バージョン | 9.5.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/gcc@9 |
| ホームページ | https://gcc.gnu.org/ |
| リポジトリ | https://gcc.gnu.org/git/gcc.git |
| 上流ドキュメント | https://gcc.gnu.org/install |
| ライセンス | GPL-3.0-or-later WITH GCC-exception-3.1 |
| ソースアーカイブ | https://ftpmirror.gnu.org/gnu/gcc/gcc-9.5.0/gcc-9.5.0.tar.xz |
| 最終更新 | 2026-07-03T16:36:49-04:00 |
| Pulse | updated |
| 依存関係 | gmp, isl, libmpc, mpfr |
| Bottle | 利用可能 (対象 arm64_linux, big_sur, catalina, monterey, x86_64_linux) |
| Homebrew post-install | 定義済み |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gcc@9 |
| Version Scheme | 0 |
| Revision | 0 |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | yes |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
cpp-9 9.5.0-6ubuntu2
GNU C preprocessor
sudo apt install cpp-9cpp-9-doc 9.5.0-6ubuntu2
Documentation for the GNU C preprocessor (cpp)
sudo apt install cpp-9-docg++-9 9.5.0-6ubuntu2
GNU C++ compiler
sudo apt install g++-9g++-9-multilib 9.5.0-6ubuntu2
GNU C++ compiler (multilib support)
sudo apt install g++-9-multilibgcc-9 9.5.0-6ubuntu2
GNU C compiler
sudo apt install gcc-9gcc-9-base 9.5.0-6ubuntu2
GCC, the GNU Compiler Collection (base package)
sudo apt install gcc-9-basegcc-9-doc 9.5.0-6ubuntu2
Documentation for the GNU compilers (gcc, gobjc, g++)
sudo apt install gcc-9-docgcc-9-hppa64-linux-gnu 9.5.0-6ubuntu2
GNU C compiler (cross compiler for hppa64)
sudo apt install gcc-9-hppa64-linux-gnugcc-9-locales 9.5.0-6ubuntu2
GCC, the GNU compiler collection (native language support files)
sudo apt install gcc-9-localesgcc-9-multilib 9.5.0-6ubuntu2
GNU C compiler (multilib support)
sudo apt install gcc-9-multilibgcc-9-offload-nvptx 9.5.0-6ubuntu2
GCC offloading compiler to NVPTX
sudo apt install gcc-9-offload-nvptxgcc-9-plugin-dev 9.5.0-6ubuntu2
Files for GNU GCC plugin development.
sudo apt install gcc-9-plugin-devgcc-9-source 9.5.0-6ubuntu2
Source of the GNU Compiler Collection
sudo apt install gcc-9-sourcegcc-9-test-results 9.5.0-6ubuntu2
Test results for the GCC test suite
sudo apt install gcc-9-test-resultsgccbrig-9 9.5.0-6ubuntu2
GNU BRIG (HSA IL) frontend
sudo apt install gccbrig-9gccgo-9 9.5.0-6ubuntu2
GNU Go compiler
sudo apt install gccgo-9ソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.