# 使用 Homebrew, MacPorts 安装 aarch64-elf-binutils

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install aarch64-elf-binutils
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install aarch64-elf-binutils
```

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

## 软件包事实

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

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

aarch64-elf-binutils is Homebrew's target-prefixed packaging of GNU Binutils for AArch64 bare-metal cross development. It provides the assembler, linker, archive tools, object-file inspection tools, and related utilities under aarch64-elf-* executable names.

### 项目历史

GNU Binutils is maintained in Sourceware's combined binutils-gdb.git repository, whose official gitweb summary describes the repository as gdb and binutils and publishes an HTTPS repository URL. The current Sourceware Binutils documentation is generated from the Binutils 2.46 sources and covers gas, ld, BFD, libctf, gprof, gprofng, SFrame, and the binary utilities manual.

The Homebrew formula is not a fork of Binutils; it packages the GNU release for the aarch64-elf target. As of the official Homebrew formula API checked for this batch, the stable formula uses GNU Binutils 2.46.1.

### 采用历史

Target-prefixed Binutils packages became a standard packaging pattern for cross development because they let multiple toolchains coexist without shadowing host tools such as as, ld, ar, objdump, or readelf. Homebrew exposes this convention directly through executables such as aarch64-elf-as, aarch64-elf-ld, aarch64-elf-objcopy, and aarch64-elf-readelf.

Homebrew analytics in the official formula API show the package is a niche but active cross-toolchain component, with installs tracked separately from the host binutils formula.

### 使用方式

Users install aarch64-elf-binutils when they need to assemble, link, convert, inspect, strip, or archive objects for AArch64 ELF targets outside the host operating system ABI. It is commonly paired with a matching cross GCC and, when debugging is needed, a target-matched GDB.

The package's target prefix matters operationally: build systems and cross-compilers can call aarch64-elf-as or aarch64-elf-ld explicitly, avoiding accidental use of platform-native tools.

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

For package-manager users, this formula is the low-level base of an AArch64 bare-metal toolchain. Getting the target triplet, prefix, and Binutils/GCC pairing right is the difference between a reproducible cross build and a host-tool leak that fails later in the build.

Package nerds care because Binutils packages are both leaf CLI tools and dependency infrastructure: they expose many small executables, interact closely with compiler specs, and often need to be versioned in step with cross compilers.

### 时间线

- 2026: Sourceware's current Binutils documentation is generated from the Binutils 2.46 sources.
- 2026: Sourceware git tags list an official GNU Binutils 2.46.1 release.
- 2026: Homebrew's aarch64-elf-binutils formula packages GNU Binutils 2.46.1 for aarch64-elf cross development.

### Related projects

- GCC commonly consumes Binutils as the assembler/linker layer in GNU cross-toolchains.
- GDB shares Sourceware's binutils-gdb.git repository with Binutils.
- The aarch64-elf-gcc and aarch64-elf-gdb Homebrew formulae are natural companions for this target-specific Binutils package.

### 来源

- <https://formulae.brew.sh/api/formula/aarch64-elf-binutils.json>
- <https://sourceware.org/binutils/docs/>
- <https://sourceware.org/git/?p=binutils-gdb.git;a=summary>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- MacPorts - aarch64-elf-binutils: normalized package name match | MacPorts ports tree: cross/aarch64-elf-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/aarch64-elf-binutils.yml](https://github.com/mxcl/pkgdb/blob/main/combined/aarch64-elf-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
