Quoting from 
[https://andrewkelley.me/post/zig-cc-powerful-drop-in-replacement-gcc-clang.html](https://andrewkelley.me/post/zig-cc-powerful-drop-in-replacement-gcc-clang.html)
 :

> For example, maybe you have a programming language that compiles to C. Zig is 
> an obvious choice for what C compiler to ship with your language.

(The link for "programming language that compiles to C" is to nim-lang.org)

The zig tarball is 45MB (!) but that supposedly includes a fully working clang 
that properly cross compiles to Windows, Mac, Linux, 32-bit, 64-bit, musl, 
glib, mingw64 and other goodies. Haven't played with this release yet, but 
everything Andrew Kelley has released so far was working as advertised, so this 
likely does to.

Useful perhaps, as Andrew suggests, to include in a "batteries included" Nim 
distribution that can cross-compile from any arch to any arch.

Reply via email to