# 使用 Homebrew, MacPorts, pacman, dnf 安装 arm-none-eabi-binutils

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

## 安装

```sh
sudo av install brew:arm-none-eabi-binutils
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install arm-none-eabi-binutils
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install arm-none-eabi-binutils
```

  证据: MacPorts ports tree: cross/arm-none-eabi-binutils/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- pacman (92%):

```sh
sudo pacman -S arm-none-eabi-binutils
```

  证据: Arch Linux sync databases: arm-none-eabi-binutils from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- dnf (92%):

```sh
sudo dnf install arm-none-eabi-binutils-cs
```

  证据: Fedora Rawhide package metadata: arm-none-eabi-binutils-cs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

## 软件包事实

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

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

arm-none-eabi-binutils is the target-prefixed GNU Binutils package for bare-metal ARM EABI development. It provides the low-level assembler, linker, archiver, object-copy, object-dump, symbol, size, string, strip, and ELF-inspection tools used before or alongside a matching arm-none-eabi GCC.

### 项目历史

The upstream project is GNU Binutils, maintained through Sourceware's binutils-gdb.git repository. The official documentation is generated from the Binutils sources and covers the binary utilities, GNU assembler, GNU linker, BFD, profiling tools, and support libraries.

The arm-none-eabi prefix is packaging and target selection rather than a fork. It tells build systems and compiler drivers that these tools target ARM with no hosted operating system and the Embedded ABI, a common setup for microcontrollers, firmware, bootloaders, and freestanding runtime work.

### 采用历史

The supplied package facts show arm-none-eabi-binutils packaged in Homebrew, Fedora-derived packaging, MacPorts, and Arch. That spread reflects the embedded-development pattern: host systems need cross tools that do not replace native /usr/bin ar, as, ld, objcopy, objdump, or strip.

Because bare-metal ARM development often needs objcopy to create raw binaries or S-records, objdump/readelf for inspection, and linker scripts for memory layout, Binutils is often installed even before the full compiler and C library story is settled.

### 使用方式

The package installs commands such as arm-none-eabi-as, arm-none-eabi-ld, arm-none-eabi-objcopy, arm-none-eabi-objdump, arm-none-eabi-readelf, and arm-none-eabi-strip. Users call them directly in firmware build scripts or indirectly through arm-none-eabi-gcc.

Official Binutils documentation describes objcopy as able to translate object-file formats and generate raw binary output, objdump as an object-file inspection tool, gas as a family of assemblers, and ld as the linker that combines object and archive files. Those are exactly the jobs that make the package central to embedded packaging.

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

This is one of the canonical cross-toolchain packages: small, target-prefixed, and boring in the right way. It makes build-system discovery deterministic and keeps host and target binary tools separate.

For package nerds, arm-none-eabi-binutils is the layer that reveals how much embedded build output is not just compilation. Firmware packaging depends on linker scripts, section placement, ELF metadata, stripped images, raw binary conversion, and post-link inspection.

### 时间线

- 1991-2026: Current Sourceware manuals for gas and ld carry Free Software Foundation copyright ranges beginning in 1991.
- 2026: Sourceware publishes documentation for Binutils 2.46.
- 2026: Sourceware git tags include official GNU Binutils 2.46 and 2.46.1 releases.
- Current: Homebrew, MacPorts, Arch, and Fedora-family package metadata include arm-none-eabi-binutils variants.

### Related projects

- Related projects include arm-none-eabi-gcc, newlib or other embedded C libraries, GDB, OpenOCD, CMSIS-based firmware projects, and build systems that consume target-prefixed toolchains.
- It is a sibling of arm-linux-gnueabihf-binutils, but aims at bare-metal EABI rather than GNU/Linux hard-float userland.

### 来源

- <https://sourceware.org/binutils/docs>
- <https://sourceware.org/binutils/docs/as.html>
- <https://sourceware.org/binutils/docs/binutils.html>
- <https://sourceware.org/binutils/docs/ld.html>
- <https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=summary>
- input.source_facts.executables
- input.source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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

## 其他软件包管理器记录

- dnf - arm-none-eabi-binutils-cs - 2.45-4.fc45: normalized package name match | Fedora Rawhide package metadata: arm-none-eabi-binutils-cs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | GNU Binutils for cross-compilation for arm-none-eabi target | http://www.codesourcery.com/sgpp/lite/arm
- pacman - arm-none-eabi-binutils - 2.47-1: normalized package name match | Arch Linux sync databases: arm-none-eabi-binutils from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A set of programs to assemble and manipulate binary and object files for the ARM EABI (bare-metal) target | https://www.gnu.org/software/binutils/
- MacPorts - arm-none-eabi-binutils: normalized package name match | MacPorts ports tree: cross/arm-none-eabi-binutils/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/arm-none-eabi-binutils.yml](https://github.com/mxcl/pkgdb/blob/main/combined/arm-none-eabi-binutils.yml)


## 来源

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