Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts 安装 m68k-elf-gcc

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install m68k-elf-gcc

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install m68k-elf-gcc

MacPorts ports tree · cross/m68k-elf-gcc/Portfile · 来源: api.github.com

概览

软件包摘要

GNU compiler collection m68k-elf

命令和别名

  • m68k-elf-c++
  • m68k-elf-cpp
  • m68k-elf-g++
  • m68k-elf-gcc
  • m68k-elf-gcc-16.1.0
  • m68k-elf-gcc-ar
  • m68k-elf-gcc-nm
  • m68k-elf-gcc-ranlib
  • m68k-elf-gcov
  • m68k-elf-gcov-dump
  • m68k-elf-gcov-tool
  • m68k-elf-lto-dump

历史

项目历史与用法

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.

时间线

  • 1987: GCC first emerged as the GNU C Compiler era began
  • 2024: GCC mission statement page documents open development, multiple architectures, and new targets
  • 2026: GCC 16.1 listed as a supported release on the official GCC site
  • 2026: Homebrew package facts list GCC 16.1.0 target-prefixed m68k-elf executables

Related projects

  • m68k-elf-binutils supplies the matching assembler, linker, and object utilities.
  • GNU Binutils, GNU Make, and Autoconf-era build systems are common neighbors in source builds using GCC cross compilers.
  • Other GCC cross packages follow the same target-triplet executable convention.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
m68k-elf-c++cli全局可执行文件
m68k-elf-cppcli全局可执行文件
m68k-elf-g++cli全局可执行文件
m68k-elf-gcccli全局可执行文件
m68k-elf-gcc-16.1.0cli全局可执行文件
m68k-elf-gcc-arcli全局可执行文件
m68k-elf-gcc-nmcli全局可执行文件
m68k-elf-gcc-ranlibcli全局可执行文件
m68k-elf-gcovcli全局可执行文件
m68k-elf-gcov-dumpcli全局可执行文件
m68k-elf-gcov-toolcli全局可执行文件
m68k-elf-lto-dumpcli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://gcc.gnu.org

  • 信息Release/tag comparison is only available for GitHub repositories.https://gcc.gnu.orgnone 置信度

安装元数据

软件包元数据

软件包键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
Pulseupdated
依赖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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namem68k-elf-gcc
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

MacPorts95%

m68k-elf-gcc

sudo port install m68k-elf-gcc
  • normalized package name match
  • 匹配方式:M68k Elf Gcc
MacPorts ports tree · api.github.com · MacPorts ports tree: cross/m68k-elf-gcc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

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

使用的来源

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