cerisier/toolchains_llvm_bootstrapped: A zero sysroot, fully hermetic C/C++ cross compilation toolchain for Bazel based on LLVM.
github.comΒ·12h
πŸ“¦uv
Preview
Report Post

LLVM cross compilation toolchain for Bazel

⚠️ Warning: This project is still experimental and its behaviour may change.

Description

This toolchain brings a zero sysroot, fully hermetic C/C++ cross compilation toolchain to Bazel based on LLVM.

Cross-compilation works out of the box, including with sanitizers, and requires no additional configuration. Remote execution also works out of the box since the toolchain is fully hermetic.

How does it work ?

Cross compilation usually requires 2 main components:

  1. A cross-compiler and cross-linker capable of generating and linking binaries for the target platform.
  2. Target-specific headers and libraries such as the C runtime (CRT files), libc (glibc, musl, etc.), C++ standard library (libstdc++, libc+…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help