If you want to play around with some of the improved code generation features of Clang/LLVM 10 for various architectures (MIPS, ARM, RISC-V, etc), but don't want to take the time to set up a full cross compilation environment, you could use the master branch tarballs[1] of Zig, which already are based on LLVM/Clang 10.<p>I <i>just</i> published a blog post[2] about this. You can use `zig cc` in the place of `clang`, and it'll unlock cross compilation.<p>[1]: <a href="https://ziglang.org/download/" rel="nofollow">https://ziglang.org/download/</a><p>[2]: <a href="https://andrewkelley.me/post/zig-cc-powerful-drop-in-replacement-gcc-clang.html" rel="nofollow">https://andrewkelley.me/post/zig-cc-powerful-drop-in-replace...</a>