logoalt Hacker News

cerisierlast Monday at 5:19 PM0 repliesview on HN

A C/C++ cross compilation toolchain for Bazel based on LLVM that compiles all target dependencies (CRT, libc, C++ stdlib, unwind libraries etc...) from source.

This means that it can cross-compile C and C++ programs that use the libc (glibc or musl) as well as the C++ stdlib (libstdc++ or llvm-libc++) out of the box without any kind of sysroot.

https://github.com/cerisier/toolchains_llvm_bootstrapped