# 使用 Homebrew 安装 i686-elf-binutils

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install i686-elf-binutils
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:i686-elf-binutils
- **软件包管理器:** Homebrew
- **版本:** 2.47
- **来源摘要:** GNU Binutils for i686-elf cross development
- **主页:** <https://www.gnu.org/software/binutils/>
- **最后更新:** 2026-07-29T14:10:12Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- i686-elf-addr2line (别名)
- i686-elf-ar (别名)
- i686-elf-as (别名)
- i686-elf-c++filt (别名)
- i686-elf-elfedit (别名)
- i686-elf-gprof (别名)
- i686-elf-ld (别名)
- i686-elf-ld.bfd (别名)
- i686-elf-nm (别名)
- i686-elf-objcopy (别名)
- i686-elf-objdump (别名)
- i686-elf-ranlib (别名)
- i686-elf-readelf (别名)
- i686-elf-size (别名)
- i686-elf-strings (别名)
- i686-elf-strip (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

i686-elf-binutils is Homebrew's target-prefixed GNU Binutils package for i686-elf cross development. It packages the assembler, linker, object-file tools, and ELF inspection utilities that usually sit underneath a cross GCC.

### 项目历史

GNU Binutils collects the binary tools of the GNU toolchain. The GNU project page names ld, as, and gold as the main programs and lists utilities such as ar, nm, objcopy, objdump, readelf, strings, and strip, backed by libraries including BFD and opcodes.

The January 1987 GNU bulletin already described a GNU assembler, GNU ld in regular use, and object-file management utilities. The later Binutils project made those pieces a coherent release stream, with Sourceware-hosted documentation, release branches, release tags, and the shared binutils-gdb source repository.

### 采用历史

Binutils adoption follows the adoption of GNU compilers and Unix-like package systems: assemblers and linkers are needed for building operating systems, libraries, embedded firmware, and cross targets. The GNU page explicitly states that Binutils' main reason for existence is giving GNU and GNU/Linux the facility to compile and link programs.

The i686-elf-binutils formula is part of the package-manager tradition of target-prefixed toolchains. Homebrew identifies it as GNU Binutils for i686-elf cross development and ships prefixed commands including i686-elf-as, i686-elf-ld, i686-elf-objcopy, and i686-elf-readelf.

### 使用方式

In an i686-elf cross toolchain, Binutils usually comes before GCC: the assembler and linker are required to build or use a cross compiler, and tools such as objdump, readelf, nm, and objcopy inspect or transform ELF artifacts.

The package is most useful in bare-metal, kernel, bootloader, and low-level systems work where output objects target i686-elf rather than the host machine's native ABI.

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

Package nerds care about i686-elf-binutils because it is the small foundation layer of a cross toolchain. A working target-prefixed Binutils package lets the rest of the stack use predictable names and keeps host and target object formats from being confused.

It is also a good example of why package managers expose cross tools as separate formulae: the upstream source is the same as GNU Binutils, but the configured target changes the command names and the artifacts users can produce.

### 时间线

- 1987: GNU's bulletin described GNU assembler work, GNU ld in regular use, and object-file utilities.
- 1998: The GNU Binutils web page copyright history begins on the GNU project page.
- 1999: Historical Binutils mailing lists gas2 and bfd were superseded by the binutils list, according to the GNU project page.
- 2008: gold was added to Binutils as an ELF-only linker.
- 2026: Homebrew packaged i686-elf-binutils as the Binutils layer for i686-elf cross development.

### Related projects

- GNU GCC commonly consumes the target assembler and linker supplied by Binutils.
- GDB shares the binutils-gdb repository; elfutils and LLVM tools occupy adjacent object-file and linker-tooling space.

### 来源

- <https://formulae.brew.sh/formula/i686-elf-binutils>
- <https://sourceware.org/binutils/docs/>
- <https://sourceware.org/binutils/docs/as/GNU-Assembler.html>
- <https://www.gnu.org/bulletins/bull2.txt>
- <https://www.gnu.org/software/binutils/>


## 安全说明

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-binutils.yml](https://github.com/mxcl/pkgdb/blob/main/combined/i686-elf-binutils.yml)


## 来源

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