# 使用 Homebrew 安装 i686-elf-gcc

查看 i686-elf-gcc 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:i686-elf-gcc
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install i686-elf-gcc
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:i686-elf-gcc
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/i686-elf-gcc>
- **版本:** 16.1.0
- **来源摘要:** GNU compiler collection for i686-elf
- **主页:** <https://gcc.gnu.org>
- **上游文档:** <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-08-04T22:13:35+00:00

## 可执行文件

- i686-elf-c++ (cli)
- i686-elf-cpp (cli)
- i686-elf-g++ (cli)
- i686-elf-gcc (cli)
- i686-elf-gcc-16.1.0 (cli)
- i686-elf-gcc-ar (cli)
- i686-elf-gcc-nm (cli)
- i686-elf-gcc-ranlib (cli)
- i686-elf-gcov (cli)
- i686-elf-gcov-dump (cli)
- i686-elf-gcov-tool (cli)
- i686-elf-lto-dump (cli)
- i686-elf-c++ (别名)
- i686-elf-cpp (别名)
- i686-elf-g++ (别名)
- i686-elf-gcc (别名)
- i686-elf-gcc-16.1.0 (别名)
- i686-elf-gcc-ar (别名)
- i686-elf-gcc-nm (别名)
- i686-elf-gcc-ranlib (别名)
- i686-elf-gcov (别名)
- i686-elf-gcov-dump (别名)
- i686-elf-gcov-tool (别名)
- i686-elf-lto-dump (别名)

## 依赖

- gmp
- i686-elf-binutils
- libmpc
- mpfr
- zstd

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 16.1.0
- 本地数据: OK
- 上游仓库: https://gcc.gnu.org
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

i686-elf-gcc is Homebrew's target-prefixed build of the GNU Compiler Collection for i686-elf. It is a package-manager expression of a much older GCC pattern: build the compiler for a target that is not the host so kernels, freestanding programs, and boot-time code can be produced reproducibly.

### 项目历史

GCC began as the GNU C compiler for the GNU operating system. GNU's January 1987 bulletin described a portable optimizing C compiler that supported the October 1986 ANSI C draft and was expected for release in the first quarter of 1987.

The GCC project page describes GCC 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. It also states that GCC strives to work on native and cross targets.

A major governance and naming milestone came from the EGCS reunification. GCC's 2.95 page says GCC 2.95, released July 31, 1999, was the first GCC release after the April 1999 GCC/EGCS reunification, and that GCC had expanded from GNU C Compiler to GNU Compiler Collection.

### 采用历史

GCC became central to free software because it was both a compiler and a portability layer for the GNU system, GNU/Linux, BSD-derived environments, embedded systems, and vendor Unix targets. Cross-target support made it especially important for low-level systems work.

The i686-elf-gcc formula packages that cross-target tradition for Homebrew. Homebrew lists i686-elf-binutils as a dependency, matching the usual order in which a target assembler and linker support a target compiler.

### 使用方式

Users install i686-elf-gcc to compile C and C++ into i686-elf objects and binaries without targeting macOS or the host Linux ABI. The package ships prefixed drivers such as i686-elf-gcc, i686-elf-g++, i686-elf-cpp, and target-prefixed gcc-ar, gcc-nm, and gcc-ranlib helpers.

In package-manager workflows it is usually paired with i686-elf-binutils and sometimes i686-elf-gdb or i686-elf-grub, forming a compact operating-system-development toolchain.

### 为什么软件包爱好者会关心

This package is a neat distillation of GCC's cross-compilation culture. The formula does not represent a fork of GCC; it represents a configured target, a dependency relationship with target Binutils, and a set of prefixed executables that are safe to put on a developer workstation.

For package nerds, i686-elf-gcc is also a reminder that compiler packages are not only language runtimes. They encode ABI, target object format, linker expectations, and a naming convention that other build scripts can depend on.

### 时间线

- 1987: GNU's bulletin described the GNU C compiler nearing release.
- 1998: The EGCS steering committee formed to prevent any one group from controlling the compiler project.
- 1999: The FSF appointed the GCC steering committee as official GNU maintainer for GCC.
- 1999: GCC 2.95 shipped after the GCC/EGCS reunification and used the GNU Compiler Collection name.
- 2026: Homebrew packaged i686-elf-gcc with i686-elf-binutils as a dependency for i686-elf cross compilation.

### Related projects

- GNU Binutils supplies the target assembler and linker used by this cross compiler.
- GDB, Newlib, libgcc, GRUB, QEMU, and LLVM/Clang are adjacent tools in cross-development and freestanding systems work.

### 来源

- <https://formulae.brew.sh/formula/i686-elf-gcc>
- <https://gcc.gnu.org/>
- <https://gcc.gnu.org/gcc-2.95/>
- <https://gcc.gnu.org/onlinedocs/>
- <https://gcc.gnu.org/steering.html>
- <https://www.gnu.org/bulletins/bull2.txt>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** i686-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:** stable


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [zstd](https://pkg.so/zh-hans/brew/zstd/) - Runtime dependency declared by Homebrew.
- [i686-elf-binutils](https://pkg.so/zh-hans/brew/i686-elf-binutils/) - Runtime dependency declared by Homebrew.
- [arm-none-eabi-gcc](https://pkg.so/zh-hans/brew/arm-none-eabi-gcc/) - Shares the same upstream homepage.
- [x86_64-elf-gcc](https://pkg.so/zh-hans/brew/x86-64-elf-gcc/) - Shares the same upstream homepage.
- [aarch64-elf-gcc](https://pkg.so/zh-hans/brew/aarch64-elf-gcc/) - Shares the same upstream homepage.
- [riscv64-elf-gcc](https://pkg.so/zh-hans/brew/riscv64-elf-gcc/) - Shares the same upstream homepage.
- [m68k-elf-gcc](https://pkg.so/zh-hans/brew/m68k-elf-gcc/) - Shares the same upstream homepage.
- [mingw-w64](https://pkg.so/zh-hans/brew/mingw-w64/) - Shares pkgdb curated category or tags: cli, cross-compilation, developer-tools, gcc.
- [arm-none-eabi-binutils](https://pkg.so/zh-hans/brew/arm-none-eabi-binutils/) - Shares pkgdb curated category or tags: cli, cross-compilation, developer-tools, gnu.
- [arm-linux-gnueabihf-binutils](https://pkg.so/zh-hans/brew/arm-linux-gnueabihf-binutils/) - Shares pkgdb curated category or tags: cli, cross-compilation, developer-tools, gnu.

## Combined YAML source

View the package source record on GitHub. [combined/i686-elf-gcc.yml](https://github.com/mxcl/pkgdb/blob/main/combined/i686-elf-gcc.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
