Skip to content

About

Cross-compile toolchain with clang and {gnu, musl} libc

Topics

Resources

Stars

29 stars

Watchers

3 watching

Forks

Latest commit

 

History

39 Commits

Folders and files

Repository files navigation

clang-cross

This is a simple, lightweight project for making cross-compilation toolchain with clang and {gnu, musl} libc.

Supported targets

Target Kernel Clang Libc
aarch64-unknown-linux-gnu 5.4.296 23.1.3 2.44
aarch64-unknown-linux-musl 5.4.296 23.1.3 1.2.6
arm-unknown-linux-gnueabi 5.4.296 23.1.3 2.44
arm-unknown-linux-gnueabihf 5.4.296 23.1.3 2.44
arm-unknown-linux-musleabi 5.4.296 23.1.3 1.2.6
arm-unknown-linux-musleabihf 5.4.296 23.1.3 1.2.6
armv7-unknown-linux-gnueabi 5.4.296 23.1.3 2.44
armv7-unknown-linux-gnueabihf 5.4.296 23.1.3 2.44
armv7-unknown-linux-musleabi 5.4.296 23.1.3 1.2.6
armv7-unknown-linux-musleabihf 5.4.296 23.1.3 1.2.6
i586-unknown-linux-gnu 5.4.296 23.1.3 2.44
i586-unknown-linux-musl 5.4.296 23.1.3 1.2.6
i686-unknown-linux-gnu 5.4.296 23.1.3 2.44
i686-unknown-linux-musl 5.4.296 23.1.3 1.2.6
loongarch32-unknown-linux-gnu 7.0.12 23.1.3 2.44
loongarch64-unknown-linux-gnu 5.19.16 23.1.3 2.44
loongarch64-unknown-linux-musl 5.19.16 23.1.3 1.2.6
mips64el-unknown-linux-gnu 5.4.296 23.1.3 2.44
mips64el-unknown-linux-musl 5.4.296 23.1.3 1.2.6
mips64-unknown-linux-gnu 5.4.296 23.1.3 2.44
mips64-unknown-linux-musl 5.4.296 23.1.3 1.2.6
mipsel-unknown-linux-gnu 5.4.296 23.1.3 2.44
mipsel-unknown-linux-gnusf 5.4.296 23.1.3 2.44
mipsel-unknown-linux-musl 5.4.296 23.1.3 1.2.6
mipsel-unknown-linux-muslsf 5.4.296 23.1.3 1.2.6
mips-unknown-linux-gnu 5.4.296 23.1.3 2.44
mips-unknown-linux-gnusf 5.4.296 23.1.3 2.44
mips-unknown-linux-musl 5.4.296 23.1.3 1.2.6
mips-unknown-linux-muslsf 5.4.296 23.1.3 1.2.6
powerpc64le-unknown-linux-gnu 5.4.296 23.1.3 2.44
powerpc64le-unknown-linux-musl 5.4.296 23.1.3 1.2.6
powerpc64-unknown-linux-gnu 5.4.296 23.1.3 2.44
powerpc64-unknown-linux-musl 5.4.296 23.1.3 1.2.6
powerpcle-unknown-linux-gnu 5.4.296 23.1.3 2.44
powerpcle-unknown-linux-musl 5.4.296 23.1.3 1.2.6
powerpc-unknown-linux-gnu 5.4.296 23.1.3 2.44
powerpc-unknown-linux-musl 5.4.296 23.1.3 1.2.6
riscv32-unknown-linux-gnu 5.4.296 23.1.3 2.44
riscv32-unknown-linux-musl 5.4.296 23.1.3 1.2.6
riscv64-unknown-linux-gnu 5.4.296 23.1.3 2.44
riscv64-unknown-linux-musl 5.4.296 23.1.3 1.2.6
s390x-ibm-linux-gnu 5.4.296 23.1.3 2.44
s390x-ibm-linux-musl 5.4.296 23.1.3 1.2.6
x86_64-unknown-linux-gnu 5.4.296 23.1.3 2.44
x86_64-unknown-linux-musl 5.4.296 23.1.3 1.2.6

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:

About

Cross-compile toolchain with clang and {gnu, musl} libc

Topics

Resources

Stars

29 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages