This showcases the current state of my project to build a fully hermetic cross-compilation c/c++ bazel toolchain.
The toolchain is made of 1 “bootstrapped” toolchain that builds all the default libs (libc (glibc stubs), libcxx, compiler-rt, CRT) and that passes include and libs artifacts to a second toolchain that takes care of building the end program.
This video shows the entire compilation process for a simple hello world in c++ in an environment that has no clang, no includes. Everything is compile from source. E.v.e.r.y.t.h.i.n.g.