macOS
brew install arm-none-eabi-gcclocal Homebrew formula metadata
sudo port install arm-none-eabi-gccMacPorts ports tree · cross/arm-none-eabi-gcc/Portfile · 来源: api.github.com
安装
brew install arm-none-eabi-gcclocal Homebrew formula metadata
sudo port install arm-none-eabi-gccMacPorts ports tree · cross/arm-none-eabi-gcc/Portfile · 来源: api.github.com
sudo pacman -S arm-none-eabi-gccArch Linux sync databases · arm-none-eabi-gcc · 来源: geo.mirror.pkgbuild.com
sudo dnf install arm-none-eabi-gcc-csFedora Rawhide package metadata · arm-none-eabi-gcc-cs · 来源: dl.fedoraproject.org
sudo zypper install cross-arm-none-gcc13openSUSE Tumbleweed package metadata · cross-arm-none-gcc13 · 来源: download.opensuse.org
概览
GNU compiler collection for arm-none-eabi
历史
arm-none-eabi-gcc is a target-prefixed GCC cross compiler for bare-metal ARM EABI development. The upstream project is GCC, the GNU Compiler Collection; the package name selects the ARM freestanding target used by firmware, microcontroller, bootloader, and embedded-runtime builds.
GCC's official homepage says GCC was originally written as the compiler for the GNU operating system and now includes front ends for C, C++, Objective-C, Objective-C++, Fortran, Ada, Go, D, Modula-2, COBOL, Rust, and Algol 68, along with runtime libraries such as libstdc++.
The GCC project emphasizes regular high-quality releases, support for many native and cross targets, publicly available Git sources, and weekly snapshots. The official Git page documents https://gcc.gnu.org/git/gcc.git as the clone URL and links to online Git history.
The arm-none-eabi packaging is not a separate compiler lineage; it is GCC configured as a cross compiler. The official ARM options manual documents ARM-specific switches such as -mabi, -mfloat-abi, -march, and -mcpu, which are the kinds of controls embedded ARM users combine with linker scripts and binutils.
The supplied package facts show arm-none-eabi-gcc in Homebrew, MacPorts, Arch, Fedora-family, and zypper-family package metadata. That cross-package spread exists because embedded ARM developers often work from macOS or Linux hosts and need repeatable target-prefixed tools outside their system compiler.
GCC's broader adoption comes from being the default or reference compiler across many free-software and embedded environments. The arm-none-eabi variant rides that history while serving a narrower target: freestanding code where libc, startup files, linker scripts, and hardware-specific flags are chosen by the firmware project.
The package installs commands such as arm-none-eabi-gcc, arm-none-eabi-g++, arm-none-eabi-cpp, arm-none-eabi-gcc-ar, arm-none-eabi-gcc-nm, arm-none-eabi-gcc-ranlib, gcov tools, and lto-dump. Users compile C/C++ or assembly inputs to ARM EABI objects and link firmware images through a matching binutils and runtime setup.
Official GCC documentation describes the compiler driver pipeline from preprocessing and compilation through assembly and linking, plus target-specific options. In embedded use, package users commonly combine arm-none-eabi-gcc with arm-none-eabi-binutils, startup code, linker scripts, and optional C libraries such as newlib.
arm-none-eabi-gcc is a classic example of why package managers carry cross compilers as separate packages. The target prefix preserves host compiler behavior while making build systems select the intended architecture, ABI, and runtime assumptions.
For package nerds, the package is interesting because it turns GCC from a host compiler into a relocatable toolchain component. The visible command names encode the target, and the rest of the ecosystem hangs off that convention: pkg-config wrappers, CMake toolchain files, Cargo/Make firmware builds, and objcopy-based image generation.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
arm-none-eabi-c++ | cli | 全局可执行文件 | |
arm-none-eabi-cpp | cli | 全局可执行文件 | |
arm-none-eabi-g++ | cli | 全局可执行文件 | |
arm-none-eabi-gcc | cli | 全局可执行文件 | |
arm-none-eabi-gcc-16.1.0 | cli | 全局可执行文件 | |
arm-none-eabi-gcc-ar | cli | 全局可执行文件 | |
arm-none-eabi-gcc-nm | cli | 全局可执行文件 | |
arm-none-eabi-gcc-ranlib | cli | 全局可执行文件 | |
arm-none-eabi-gcov | cli | 全局可执行文件 | |
arm-none-eabi-gcov-dump | cli | 全局可执行文件 | |
arm-none-eabi-gcov-tool | cli | 全局可执行文件 | |
arm-none-eabi-lto-dump | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:arm-none-eabi-gcc |
|---|---|
| 版本 | 16.1.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/arm-none-eabi-gcc |
| 主页 | https://gcc.gnu.org |
| 仓库 | https://gcc.gnu.org/git/gcc.git |
| 上游文档 | https://gcc.gnu.org/ |
| 许可证 | GPL-3.0-or-later WITH GCC-exception-3.1 |
| 源码归档 | https://ftpmirror.gnu.org/gnu/gcc/gcc-16.1.0/gcc-16.1.0.tar.xz |
| 最后更新 | 2026-04-30T17:38:11Z |
| Pulse | updated |
| 依赖 | arm-none-eabi-binutils, gmp, isl, libmpc, mpfr, zstd |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | arm-none-eabi-gcc |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
arm-none-eabi-gcc-cs 15.2.0-4.fc44
GNU GCC for cross-compilation for arm-none-eabi target
sudo dnf install arm-none-eabi-gcc-csarm-none-eabi-gcc 14.2.0-2
The GNU Compiler Collection - cross compiler for ARM EABI (bare-metal) target
sudo pacman -S arm-none-eabi-gcccross-arm-none-gcc13 13.4.1+git10254-1.2
The GNU Compiler Collection targeting arm-none
sudo zypper install cross-arm-none-gcc13cross-arm-none-gcc13-bootstrap 13.4.1+git10254-1.2
The GNU Compiler Collection targeting arm-none
sudo zypper install cross-arm-none-gcc13-bootstrapcross-arm-none-gcc14 14.3.1+git12513-1.2
The GNU Compiler Collection targeting arm-none
sudo zypper install cross-arm-none-gcc14cross-arm-none-gcc14-bootstrap 14.3.1+git12513-1.2
The GNU Compiler Collection targeting arm-none
sudo zypper install cross-arm-none-gcc14-bootstrapcross-arm-none-gcc15 15.2.1+git11263-1.1
The GNU Compiler Collection targeting arm-none
sudo zypper install cross-arm-none-gcc15cross-arm-none-gcc15-bootstrap 15.2.1+git11263-1.1
The GNU Compiler Collection targeting arm-none
sudo zypper install cross-arm-none-gcc15-bootstrapcross-arm-none-gcc16 16.1.1+git8886-1.1
The GNU Compiler Collection targeting arm-none
sudo zypper install cross-arm-none-gcc16cross-arm-none-gcc7 7.5.0+r278197-24.1
The GNU Compiler Collection targeting arm-none
sudo zypper install cross-arm-none-gcc7cross-arm-none-gcc7-bootstrap 7.5.0+r278197-24.1
The GNU Compiler Collection targeting arm-none
sudo zypper install cross-arm-none-gcc7-bootstraparm-none-eabi-gcc
sudo port install arm-none-eabi-gcc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.