macOS
brew install m68k-elf-gcclocal Homebrew formula metadata
sudo port install m68k-elf-gccMacPorts ports tree · cross/m68k-elf-gcc/Portfile · 来源: api.github.com
安装
brew install m68k-elf-gcclocal Homebrew formula metadata
sudo port install m68k-elf-gccMacPorts ports tree · cross/m68k-elf-gcc/Portfile · 来源: api.github.com
概览
GNU compiler collection m68k-elf
历史
m68k-elf-gcc is a target-prefixed GCC cross compiler for building code for Motorola 68000-family ELF targets.
GCC began as the GNU system's compiler and grew into the GNU Compiler Collection. The current project includes front ends for many languages and runtime libraries, and it is developed as free software under the GNU Project.
The `m68k-elf-gcc` package is a target build of upstream GCC rather than an independent compiler project. Its executables are prefixed with `m68k-elf-` so they can live beside the host compiler and other cross compilers.
GCC's official documentation includes M680x0 and ColdFire target options for generating and tuning code for processors such as 68000, 68010, 68020, 68030, 68040, 68060, CPU32, and ColdFire families.
GCC is widely adopted because it targets many architectures and supports both native and cross compilation. The GCC mission statement explicitly calls out multiple architectures, diverse environments, new targets, and an open development model.
The supplied package facts show Homebrew and MacPorts packages for `m68k-elf-gcc`, placing it in the small but important family of retrocomputing, embedded, and bare-metal cross compilers available through desktop package managers.
The GCC manual describes the usual executable as `gcc`, `machine-gcc` when cross-compiling, or `machine-gcc-version` for a versioned driver. This package follows that convention with commands such as `m68k-elf-gcc`, `m68k-elf-g++`, `m68k-elf-cpp`, and related GCC helper tools.
Developers use it with `m68k-elf-binutils` to compile C and C++ code, assemble generated output, and link ELF binaries for bare-metal 68k targets. Target options such as `-march`, `-mcpu`, `-mtune`, `-m68000`, and `-m68020-60` control generated code for different 680x0 and ColdFire variants.
Cross-GCC packages are more than a compiler binary: they encode a target triplet, ABI assumptions, binutils pairing, runtime-library choices, and build-system expectations.
For package maintainers, `m68k-elf-gcc` is notable because it makes a non-host architecture feel native to build systems while keeping all tools target-prefixed and isolated from the host GCC or Clang.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
m68k-elf-c++ | cli | 全局可执行文件 | |
m68k-elf-cpp | cli | 全局可执行文件 | |
m68k-elf-g++ | cli | 全局可执行文件 | |
m68k-elf-gcc | cli | 全局可执行文件 | |
m68k-elf-gcc-16.1.0 | cli | 全局可执行文件 | |
m68k-elf-gcc-ar | cli | 全局可执行文件 | |
m68k-elf-gcc-nm | cli | 全局可执行文件 | |
m68k-elf-gcc-ranlib | cli | 全局可执行文件 | |
m68k-elf-gcov | cli | 全局可执行文件 | |
m68k-elf-gcov-dump | cli | 全局可执行文件 | |
m68k-elf-gcov-tool | cli | 全局可执行文件 | |
m68k-elf-lto-dump | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:m68k-elf-gcc |
|---|---|
| 版本 | 16.1.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/m68k-elf-gcc |
| 主页 | https://gcc.gnu.org |
| 仓库 | https://gcc.gnu.org/git/gcc.git |
| 上游文档 | https://gcc.gnu.org/onlinedocs |
| 许可证 | 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-30T16:24:24Z |
| Pulse | updated |
| 依赖 | gmp, isl, libmpc, m68k-elf-binutils, 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 | m68k-elf-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 软件包链接分开显示。
m68k-elf-gcc
sudo port install m68k-elf-gcc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.