# m68k-elf-gcc mit Homebrew, MacPorts installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für m68k-elf-gcc in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:m68k-elf-gcc
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install m68k-elf-gcc
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install m68k-elf-gcc
```

  Evidenz: MacPorts ports tree: cross/m68k-elf-gcc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

## Paketfakten

- **Paketschlüssel:** brew:m68k-elf-gcc
- **Paketmanager:** Homebrew
- **Version:** 16.1.0
- **Quellzusammenfassung:** GNU compiler collection m68k-elf
- **Homepage:** <https://gcc.gnu.org>
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

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

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 16.1.0
## Projektgeschichte und Nutzung

m68k-elf-gcc is a target-prefixed GCC cross compiler for building code for Motorola 68000-family ELF targets.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 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.

### Quellen

- <https://gcc.gnu.org/>
- <https://gcc.gnu.org/gccmission.html>
- <https://gcc.gnu.org/git.html>
- <https://gcc.gnu.org/onlinedocs/>
- <https://gcc.gnu.org/onlinedocs/gcc/Invoking-GCC.html>
- <https://gcc.gnu.org/onlinedocs/gcc/M680x0-Options.html>
- source_facts.executables
- source_facts.package-manager


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Andere Paketmanager-Einträge

- MacPorts - m68k-elf-gcc: normalized package name match | MacPorts ports tree: cross/m68k-elf-gcc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/m68k-elf-gcc.yml](https://github.com/mxcl/pkgdb/blob/main/combined/m68k-elf-gcc.yml)


## Quellen

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
