# richfelker/musl-cross-make

Simple makefile-based build for musl cross compiler

Repository: https://github.com/richfelker/musl-cross-make
Canonical: https://ross.abutalabs.com/products/musl-cross-make
Language: Makefile
License: MIT
License Family: permissive
Topics: musl, cross-compiler, musl-cross, target-musl, gcc, binutils, toolchain
Last push: 2026-06-16T21:51:37+00:00

## Health v2 (maintenance only)
Score: 71/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 87, release rhythm 35, longevity 100
- inputs: {"age_days": 4026, "days_push": 78, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1583, forks 317 (observed 2026-08-28T04:05:07.185473+00:00)

## What it is
A makefile-based build system for producing musl libc-targeting GCC cross compilers. It automates downloading, patching, and building GCC, binutils, and musl into relocatable cross toolchains for many architectures.

## Use cases
- build a cross compiler for arm or aarch64 linux musl targets
- compile embedded linux software against musl libc
- create relocatable gcc toolchains without hardcoded paths
- build cross compilers for riscv64 or mips targets
- set up a musl-based toolchain for static linking

## When to choose
- you need musl-targeting cross compilers for embedded or minimal Linux systems
- you want a simple make-driven toolchain build without heavy frameworks like crosstool-ng
- you need multiple target architectures from one source tree

## When to avoid
- you need a glibc-targeting toolchain
- you want prebuilt binaries rather than building from source
- you need Clang/LLVM instead of GCC

## Facets
- artifact type: cli-tool
- maturity: active
- function: build-tool, compiler, developer-tools
- domain: developer-tools, compilers, embedded-systems, operating-systems
- platform: cli, cross-platform
- tags: musl, cross-compiler, gcc, binutils, toolchain, makefile, embedded-linux, linux, macos

## Member repositories
- richfelker/musl-cross-make (main) score 71

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:07.185473+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:56:01.745746+00:00, confidence not recorded.
  - readme: https://github.com/richfelker/musl-cross-make (fetched 2026-08-28T04:05:07.185473+00:00, sha fb836907b578)
- Data as of 2026-08-30T08:39:29.467469+00:00.
