Hacker News new | past | comments | ask | show | jobs | submit login

llvm/clang does not cross-compile "without a lot of problems". See this post from Zig's creator: https://andrewkelley.me/post/zig-cc-powerful-drop-in-replace...

zig cc uses clang under the hood, and Zig the language is also mostly based on LLVM, but zig cc ships a lot of versions of libc to ensure that it can properly compile to all platforms without weird linker errors.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: