# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/aarch64-elf-binutils>
- **版本:** 2.47
- **来源摘要:** GNU Binutils for aarch64-elf cross development
- **主页:** <https://www.gnu.org/software/binutils/>
- **上游文档:** <https://www.gnu.org/software/binutils/>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://ftpmirror.gnu.org/gnu/binutils/binutils-2.47.tar.bz2>
- **最后更新:** 2026-07-29T14:10:12Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- aarch64-elf-addr2line (cli)
- aarch64-elf-ar (cli)
- aarch64-elf-as (cli)
- aarch64-elf-c++filt (cli)
- aarch64-elf-elfedit (cli)
- aarch64-elf-gprof (cli)
- aarch64-elf-ld (cli)
- aarch64-elf-ld.bfd (cli)
- aarch64-elf-nm (cli)
- aarch64-elf-objcopy (cli)
- aarch64-elf-objdump (cli)
- aarch64-elf-ranlib (cli)
- aarch64-elf-readelf (cli)
- aarch64-elf-size (cli)
- aarch64-elf-strings (cli)
- aarch64-elf-strip (cli)
- 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 (别名)

## 依赖

- zstd

## 构建依赖

- pkgconf
- texinfo

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.47
- 管理器更新时间: 2026-07-29
- 本地数据: OK
- 上游仓库: https://www.gnu.org/software/binutils/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

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

## 源数据库详情

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

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

- 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


## 相关链接

- [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.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [zstd](https://pkg.so/zh-hans/brew/zstd/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [texinfo](https://pkg.so/zh-hans/brew/texinfo/) - Build dependency declared by Homebrew.
- [aarch64-elf-gcc](https://pkg.so/zh-hans/brew/aarch64-elf-gcc/) - Popular package that depends on this formula.
- [arm-none-eabi-binutils](https://pkg.so/zh-hans/brew/arm-none-eabi-binutils/) - Shares the same upstream homepage.
- [x86_64-elf-binutils](https://pkg.so/zh-hans/brew/x86-64-elf-binutils/) - Shares the same upstream homepage.
- [riscv64-elf-binutils](https://pkg.so/zh-hans/brew/riscv64-elf-binutils/) - Shares the same upstream homepage.
- [i686-elf-binutils](https://pkg.so/zh-hans/brew/i686-elf-binutils/) - Shares the same upstream homepage.
- [m68k-elf-binutils](https://pkg.so/zh-hans/brew/m68k-elf-binutils/) - Shares the same upstream homepage.
- [arm-linux-gnueabihf-binutils](https://pkg.so/zh-hans/brew/arm-linux-gnueabihf-binutils/) - Shares pkgdb curated category or tags: assembler, binutils, cli, cross-compilation, developer-tools.
- [rgbds](https://pkg.so/zh-hans/brew/rgbds/) - Shares pkgdb curated category or tags: assembler, cli, developer-tools, linker, toolchain.
- [mipsel-linux-gnu-binutils](https://pkg.so/zh-hans/brew/mipsel-linux-gnu-binutils/) - Shares pkgdb curated category or tags: assembler, binutils, cli, cross-compilation, developer-tools.
- [mips-linux-gnu-binutils](https://pkg.so/zh-hans/brew/mips-linux-gnu-binutils/) - Shares pkgdb curated category or tags: assembler, binutils, cli, cross-compilation, developer-tools.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
