Musl cross-compile toolchain
·
hev
musl-cross a simple, lightweight project for making cross-compilation toolchain with musl libc.
Project home
https://github.com/musl-cross/musl-cross
Supported targets
Target | Linux | Binutils | GCC | Musl |
---|---|---|---|---|
aarch64-unknown-linux-musl | 4.4.302 | 2.42 | 14.1.0 | 1.2.5 |
arm-unknown-linux-musleabi | 4.4.302 | 2.42 | 14.1.0 | 1.2.5 |
arm-unknown-linux-musleabihf | 4.4.302 | 2.42 | 14.1.0 | 1.2.5 |
loongarch64-unknown-linux-musl | 5.19.16 | 2.42 | 14.1.0 | 1.2.5 |
m68k-unknown-linux-musl | 4.4.302 | 2.42 | 14.1.0 | 1.2.5 |
microblazeel-xilinx-linux-musl | 4.4.302 | 2.42 | 14.1.0 | 1.2.5 |
microblaze-xilinx-linux-musl | 4.4.302 | 2.42 | 14.1.0 | 1.2.5 |
mipsel-unknown-linux-musl | 4.4.302 | 2.42 | 14.1.0 | 1.2.5 |
mipsel-unknown-linux-muslsf | 4.4.302 | 2.42 | 14.1.0 | 1.2.5 |
mips-unknown-linux-musl | 4.4.302 | 2.42 | 14.1.0 | 1.2.5 |
mips-unknown-linux-muslsf | 4.4.302 | 2.42 | 14.1.0 | 1.2.5 |
mips64el-unknown-linux-musl | 4.4.302 | 2.42 | 14.1.0 | 1.2.5 |
mips64-unknown-linux-musl | 4.4.302 | 2.42 | 14.1.0 | 1.2.5 |
powerpc-unknown-linux-musl | 4.4.302 | 2.42 | 14.1.0 | 1.2.5 |
powerpc64-unknown-linux-musl | 4.4.302 | 2.42 | 14.1.0 | 1.2.5 |
riscv32-unknown-linux-musl | 4.15.18 | 2.42 | 14.1.0 | 1.2.5 |
riscv64-unknown-linux-musl | 4.15.18 | 2.42 | 14.1.0 | 1.2.5 |
s390x-ibm-linux-musl | 4.4.302 | 2.42 | 14.1.0 | 1.2.5 |
sh-multilib-linux-musl | 4.4.302 | 2.42 | 14.1.0 | 1.2.5 |
x86_64-multilib-linux-musl | 4.4.302 | 2.42 | 14.1.0 | 1.2.5 |
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}.tgz -C /opt/x-tools
License
MIT