Automic VaultAutomic Vault

brew

使用 Homebrew 安装 x86_64-elf-binutils

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install x86_64-elf-binutils

local Homebrew formula metadata

概览

软件包摘要

GNU Binutils for x86_64-elf cross development

命令和别名

  • x86_64-elf-addr2line
  • x86_64-elf-ar
  • x86_64-elf-as
  • x86_64-elf-c++filt
  • x86_64-elf-elfedit
  • x86_64-elf-gprof
  • x86_64-elf-ld
  • x86_64-elf-ld.bfd
  • x86_64-elf-nm
  • x86_64-elf-objcopy
  • x86_64-elf-objdump
  • x86_64-elf-ranlib
  • x86_64-elf-readelf
  • x86_64-elf-size
  • x86_64-elf-strings
  • x86_64-elf-strip

历史

项目历史与用法

x86_64-elf-binutils is the GNU Binutils suite built for the `x86_64-elf` target, a bare-metal ELF toolchain target used for operating-system development, kernels, bootloaders, freestanding programs, and other environments that should not inherit the host operating system's ABI or libraries.

The upstream GNU Binutils project supplies the assembler, linker, object-file utilities, and shared binary-format libraries. The `x86_64-elf` package role is to expose those tools with a target prefix, so commands such as `x86_64-elf-as`, `x86_64-elf-ld`, `x86_64-elf-objdump`, and `x86_64-elf-readelf` operate as part of a cross-development toolchain.

项目历史

GNU Binutils is one of the oldest layers of the GNU toolchain. The GNU page describes it as a collection of binary tools whose main programs are `ld`, the GNU linker, `as`, the GNU assembler, and `gold`, with supporting tools such as `ar`, `nm`, `objcopy`, `objdump`, `readelf`, `size`, `strings`, and `strip`.

Historically the suite grew around shared binary-format infrastructure. The GNU page notes that most of the programs use BFD, the Binary File Descriptor library, for low-level manipulation of different object formats, and many also use the opcodes library for assembling and disassembling machine instructions. That architecture is why one source project can support many CPU, object-format, and OS targets.

采用历史

The normal native GNU toolchain pairs Binutils with GCC, GDB, make, and libc to build software for the host. Cross-toolchain users instead configure Binutils with a target such as `x86_64-elf`, producing prefixed tools that generate ELF objects and binaries for a target environment independent of the host OS.

OSDev's cross-compiler guide explains the reason for this pattern: a host compiler assumes the host CPU, operating system, executable format, headers, and libraries unless directed otherwise, while a cross-compiler uses an explicit target and avoids accidental host assumptions. Binutils is built first because GCC needs the target assembler and linker.

使用方式

In a freestanding x86-64 workflow, `x86_64-elf-as` assembles startup or interrupt code, `x86_64-elf-ld` links objects with a custom linker script, `x86_64-elf-objcopy` converts or extracts binary images, and `x86_64-elf-objdump` or `x86_64-elf-readelf` inspects ELF sections, relocations, symbols, and disassembly.

Package users often install x86_64-elf-binutils alongside `x86_64-elf-gcc`. The useful bit is the prefix: build scripts can call target-specific tools directly and avoid accidentally invoking `/usr/bin/as` or the platform linker, which may default to Mach-O, PE, Linux user-space ELF, or another host-specific environment.

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

This package is significant because it turns GNU Binutils from a native developer utility into a precise cross-toolchain component. For OS development and bare-metal experiments, the absence of host assumptions is the feature.

The `x86_64-elf` target also captures a long-running package-manager convenience: many OSDev tutorials show users how to build Binutils by hand, but a packaged cross Binutils gives them the target-prefixed assembler, linker, and inspection tools without owning that bootstrap step.

时间线

  • 1980s-1990s: GNU assembler, linker, BFD, and related binary utilities mature as core parts of the GNU build toolchain.
  • 1999: The GNU Binutils page notes older `gas2` and `bfd` lists were historical discussion lists until May 1999, reflecting project consolidation under current mailing lists.
  • 2000s: OS-development communities standardize on target-prefixed GNU Binutils and GCC cross toolchains such as `i686-elf` and `x86_64-elf`.
  • 2020s: The GNU Binutils project continues regular releases from Sourceware and GNU mirrors, with current documentation covering Binutils 2.46-era tools.
  • 2026: GNU's Binutils page lists 2.46.1 as the latest release and documents the Sourceware `binutils-gdb.git` development tree.

Related projects

  • GCC is the compiler suite commonly paired with Binutils in both native and cross toolchains.
  • GDB shares the Sourceware `binutils-gdb.git` repository history and is often built for the same target family.
  • OSDev tutorials commonly use Binutils and GCC as the first toolchain pieces for hobby operating-system development.
  • LLVM tools such as `llvm-objdump` and `lld` are related alternatives in some cross and bare-metal workflows.

安全态势

尚未找到受保护工具覆盖

没有找到 x86_64-elf-binutils 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
x86_64-elf-addr2linecli全局可执行文件
x86_64-elf-arcli全局可执行文件
x86_64-elf-ascli全局可执行文件
x86_64-elf-c++filtcli全局可执行文件
x86_64-elf-elfeditcli全局可执行文件
x86_64-elf-gprofcli全局可执行文件
x86_64-elf-ldcli全局可执行文件
x86_64-elf-ld.bfdcli全局可执行文件
x86_64-elf-nmcli全局可执行文件
x86_64-elf-objcopycli全局可执行文件
x86_64-elf-objdumpcli全局可执行文件
x86_64-elf-ranlibcli全局可执行文件
x86_64-elf-readelfcli全局可执行文件
x86_64-elf-sizecli全局可执行文件
x86_64-elf-stringscli全局可执行文件
x86_64-elf-stripcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本2.46.1
管理器更新时间2026-06-09
本地数据OK
上游not checked
检测到的最新版本未检测到

https://www.gnu.org/software/binutils/

安装元数据

软件包元数据

软件包键brew:x86_64-elf-binutils
版本2.46.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/x86_64-elf-binutils
主页https://www.gnu.org/software/binutils/
仓库https://sourceware.org/git/binutils-gdb.git
上游文档https://sourceware.org/binutils/docs
许可证GPL-3.0-or-later
源码归档https://ftpmirror.gnu.org/gnu/binutils/binutils-2.46.1.tar.bz2
最后更新2026-06-09T23:41:44Z
Pulseupdated
依赖zstd
构建依赖pkgconf, texinfo
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namex86_64-elf-binutils
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment