karalabe/xgo
Go CGO cross compiler observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4410
- days_rel: n/a
- days_push: 1723
- n_releases_24m: 0
Adoption not part of the score
2144 stars · 271 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
xgo is a Docker-based Go CGO cross compiler that bundles Go toolchains, C cross compilers, and platform headers/libraries into a single container. It lets developers cross-compile Go packages with embedded C/C++ code to multiple platforms and architectures via a single command.
Use cases
- cross compile go code with cgo to android, ios, darwin and windows
- build go binaries for multiple architectures from one machine
- avoid setting up separate build environments for cgo cross compilation
- compile go packages using native platform libraries like DNS resolution
- produce multi-platform release binaries for a go project
When to avoid
- you only compile pure Go code without CGO dependencies
- you cannot or do not want to use Docker
- you need actively maintained tooling with the latest Go versions
Facets
cli-tool · maturity maintenance
build-tool compiler developer-tools cli developer-tools cross-platform windows cli cgo cross-compilation go docker-based command-line docker linux macos
1 source
- readme: https://github.com/karalabe/xgo · fetched 2026-08-28 · 744ee00b664b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| karalabe/xgo | main | 10 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem