# 使用 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
- **版本:** 16.1.0
- **来源摘要:** GNU compiler collection for i686-elf
- **主页:** <https://gcc.gnu.org>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- 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 (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 16.1.0
## 项目历史与用法

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


## 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
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
