macOS
brew install x86_64-elf-gcclocal Homebrew formula metadata
sudo port install x86_64-elf-gccMacPorts ports tree · cross/x86_64-elf-gcc/Portfile · ソース: api.github.com
brew
x86_64-elf-gcc のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install x86_64-elf-gcclocal Homebrew formula metadata
sudo port install x86_64-elf-gccMacPorts ports tree · cross/x86_64-elf-gcc/Portfile · ソース: api.github.com
概要
GNU compiler collection for x86_64-elf
履歴
x86_64-elf-gcc is GCC built as a cross compiler for the `x86_64-elf` target. Its package role is not to be a separate compiler project, but to provide the GNU Compiler Collection configured for freestanding 64-bit x86 ELF output without assuming the host operating system's headers, C library, startup files, or ABI conventions.
That makes it a standard tool for operating-system kernels, bootloaders, freestanding runtimes, and bare-metal experiments. It usually works together with `x86_64-elf-binutils`, which supplies the matching target assembler, linker, and object-file tools.
GCC began as the GNU C Compiler, written for the GNU operating system and first released in 1987. It later expanded into the GNU Compiler Collection, with official front ends for C, C++, Objective-C, Objective-C++, Fortran, Ada, Go, D, Modula-2, COBOL, Rust, Algol 68, and related runtime libraries documented by the GCC project.
The GCC governance and release story also matters to cross packages. GCC's 2.95 release in July 1999 was the first after the GCC/EGCS reunification, and the project has since been maintained by a global developer community under a steering committee. The modern GCC site emphasizes regular releases that work across native and cross targets.
Cross compilation has been central to GCC's identity because GCC supports many processors and systems. The official GCC homepage explicitly says the project aims for releases that work on a variety of native and cross targets, while OSDev documentation explains why hobby OS and kernel developers build target-specific GCCs instead of relying on the host compiler.
For `x86_64-elf`, adoption is concentrated in OSDev and freestanding x86-64 work. The target prefix lets build systems call `x86_64-elf-gcc` and get code-generation defaults for x86-64 ELF rather than the host triple. OSDev guidance also notes that a target-specific compiler removes the need to pass host-overriding options such as `-m64` for every build.
Typical users compile freestanding C or C++ with options such as `-ffreestanding`, link with a custom linker script, and provide their own runtime entry point instead of relying on a hosted C library. The compiler may also be used as the driver for assembly and linking so it selects the matching target Binutils tools.
In kernel work, x86-64 has hardware and ABI details that package users must understand beyond simply choosing this compiler. OSDev material commonly calls out issues such as separate 32-bit and 64-bit toolchains, bootloader expectations, and x86-64 red-zone behavior; the package gives the target compiler, but the build still has to define the freestanding environment correctly.
x86_64-elf-gcc is important because it packages the first serious bootstrap hurdle of hobby OS development. Instead of every user manually building a cross GCC, the package provides a stable prefixed compiler that can be dropped into Makefiles and tutorials.
It is also a clear example of how package names can describe configuration rather than upstream identity. The upstream is GCC; the meaningful package distinction is the target triple, which changes what the compiler assumes about object format, runtime, and operating-system services.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
x86_64-elf-c++ | cli | グローバル実行可能ファイル | |
x86_64-elf-cpp | cli | グローバル実行可能ファイル | |
x86_64-elf-g++ | cli | グローバル実行可能ファイル | |
x86_64-elf-gcc | cli | グローバル実行可能ファイル | |
x86_64-elf-gcc-16.1.0 | cli | グローバル実行可能ファイル | |
x86_64-elf-gcc-ar | cli | グローバル実行可能ファイル | |
x86_64-elf-gcc-nm | cli | グローバル実行可能ファイル | |
x86_64-elf-gcc-ranlib | cli | グローバル実行可能ファイル | |
x86_64-elf-gcov | cli | グローバル実行可能ファイル | |
x86_64-elf-gcov-dump | cli | グローバル実行可能ファイル | |
x86_64-elf-gcov-tool | cli | グローバル実行可能ファイル | |
x86_64-elf-lto-dump | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:x86_64-elf-gcc |
|---|---|
| バージョン | 16.1.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/x86_64-elf-gcc |
| ホームページ | https://gcc.gnu.org |
| リポジトリ | https://gcc.gnu.org/git/gcc.git |
| 上流ドキュメント | https://gcc.gnu.org/ |
| ライセンス | 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-05-01T04:23:32Z |
| Pulse | updated |
| 依存関係 | gmp, libmpc, mpfr, x86_64-elf-binutils, zstd |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | x86_64-elf-gcc |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
x86_64-elf-gcc
sudo port install x86_64-elf-gccソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.