cross-tools/musl-cross

Cross-compile toolchain with musl libc

Shell

155

56 commits

updated Aug 23, 2026

See the code

README

musl-cross

This is a simple, lightweight project for making cross-compilation toolchain with musl libc.

Supported targets

TargetKernelBinutilsGCCMuslMold
aarch64-unknown-linux-musl5.4.2962.4716.2.01.2.62.41
arm-unknown-linux-musleabi5.4.2962.4716.2.01.2.62.41
arm-unknown-linux-musleabihf5.4.2962.4716.2.01.2.62.41
armv7-unknown-linux-musleabi5.4.2962.4716.2.01.2.62.41
armv7-unknown-linux-musleabihf5.4.2962.4716.2.01.2.62.41
i586-unknown-linux-musl5.4.2962.4716.2.01.2.62.41
i686-unknown-linux-musl5.4.2962.4716.2.01.2.62.41
loongarch64-unknown-linux-musl5.19.162.4716.2.01.2.62.41
m68k-unknown-linux-musl5.4.2962.4716.2.01.2.62.41
microblazeel-xilinx-linux-musl5.4.2962.4716.2.01.2.6N/A
microblaze-xilinx-linux-musl5.4.2962.4716.2.01.2.6N/A
mipsel-unknown-linux-musl5.4.2962.4716.2.01.2.6N/A
mipsel-unknown-linux-muslsf5.4.2962.4716.2.01.2.6N/A
mips-unknown-linux-musl5.4.2962.4716.2.01.2.6N/A
mips-unknown-linux-muslsf5.4.2962.4716.2.01.2.6N/A
mips64el-unknown-linux-musl5.4.2962.4716.2.01.2.6N/A
mips64-unknown-linux-musl5.4.2962.4716.2.01.2.6N/A
or1k-unknown-linux-musl5.4.2962.4716.2.01.2.6N/A
powerpcle-unknown-linux-musl5.4.2962.4716.2.01.2.62.41
powerpc-unknown-linux-musl5.4.2962.4716.2.01.2.62.41
powerpc64le-unknown-linux-musl5.4.2962.4716.2.01.2.62.41
powerpc64-unknown-linux-musl5.4.2962.4716.2.01.2.62.41
riscv32-unknown-linux-musl5.4.2962.4716.2.01.2.62.41
riscv64-unknown-linux-musl5.4.2962.4716.2.01.2.62.41
s390x-ibm-linux-musl5.4.2962.4716.2.01.2.62.41
sh4-multilib-linux-musl5.4.2962.4716.2.01.2.62.41
x86_64-unknown-linux-musl5.4.2962.4716.2.01.2.62.41

How to use

Download the tarball from the release page and extract it to /opt/x-tools:

sudo mkdir -p /opt/x-tools
sudo tar -xf ${target}.tar.xz -C /opt/x-tools

How to build

Fork this project and create a new release, or build manually:

./scripts/make ${target}

License

MIT

Acknowledgements

We would like to express our gratitude to the following individuals and projects:

cross-compiler
cross-toolchain
multi-architecture
musl-libc
static-linking

Contributors

heiher

54 commits

cross-tools/musl-cross

Cross-compile toolchain with musl libc

Shell

155

56 commits

updated Aug 23, 2026

See the code

README

musl-cross

This is a simple, lightweight project for making cross-compilation toolchain with musl libc.

Supported targets

TargetKernelBinutilsGCCMuslMold
aarch64-unknown-linux-musl5.4.2962.4716.2.01.2.62.41
arm-unknown-linux-musleabi5.4.2962.4716.2.01.2.62.41
arm-unknown-linux-musleabihf5.4.2962.4716.2.01.2.62.41
armv7-unknown-linux-musleabi5.4.2962.4716.2.01.2.62.41
armv7-unknown-linux-musleabihf5.4.2962.4716.2.01.2.62.41
i586-unknown-linux-musl5.4.2962.4716.2.01.2.62.41
i686-unknown-linux-musl5.4.2962.4716.2.01.2.62.41
loongarch64-unknown-linux-musl5.19.162.4716.2.01.2.62.41
m68k-unknown-linux-musl5.4.2962.4716.2.01.2.62.41
microblazeel-xilinx-linux-musl5.4.2962.4716.2.01.2.6N/A
microblaze-xilinx-linux-musl5.4.2962.4716.2.01.2.6N/A
mipsel-unknown-linux-musl5.4.2962.4716.2.01.2.6N/A
mipsel-unknown-linux-muslsf5.4.2962.4716.2.01.2.6N/A
mips-unknown-linux-musl5.4.2962.4716.2.01.2.6N/A
mips-unknown-linux-muslsf5.4.2962.4716.2.01.2.6N/A
mips64el-unknown-linux-musl5.4.2962.4716.2.01.2.6N/A
mips64-unknown-linux-musl5.4.2962.4716.2.01.2.6N/A
or1k-unknown-linux-musl5.4.2962.4716.2.01.2.6N/A
powerpcle-unknown-linux-musl5.4.2962.4716.2.01.2.62.41
powerpc-unknown-linux-musl5.4.2962.4716.2.01.2.62.41
powerpc64le-unknown-linux-musl5.4.2962.4716.2.01.2.62.41
powerpc64-unknown-linux-musl5.4.2962.4716.2.01.2.62.41
riscv32-unknown-linux-musl5.4.2962.4716.2.01.2.62.41
riscv64-unknown-linux-musl5.4.2962.4716.2.01.2.62.41
s390x-ibm-linux-musl5.4.2962.4716.2.01.2.62.41
sh4-multilib-linux-musl5.4.2962.4716.2.01.2.62.41
x86_64-unknown-linux-musl5.4.2962.4716.2.01.2.62.41

How to use

Download the tarball from the release page and extract it to /opt/x-tools:

sudo mkdir -p /opt/x-tools
sudo tar -xf ${target}.tar.xz -C /opt/x-tools

How to build

Fork this project and create a new release, or build manually:

./scripts/make ${target}

License

MIT

Acknowledgements

We would like to express our gratitude to the following individuals and projects:

cross-compiler
cross-toolchain
multi-architecture
musl-libc
static-linking

Contributors

heiher

54 commits

Languages

Shell

100.0%