3 ms·
I have one criticism: although zig has advertised very early on an amazing array of targets (probably taken from clang/llvm itself), some of the most esoteric o
by enqk 8y ago
I have one criticism: although zig has advertised very early on an amazing array of targets (probably taken from clang/llvm itself), some of the most esoteric ones have never worked for me, like powerpc (32bit) and MIPS. The blame is not entirely in zig but also in LLVM.
It would be more fair to not even mention them as supported _at all_, or at the very least to document them as Tier 4.
- AndyKelley 8y agoI made that mistake before and I apologize for that. For this release cycle, I went through and tested creating a simple object file for all the targets, when categorizing them into tiers. So I think that if you try powerpc (32bit) and MIPS again you will find that they work now (probably because of LLVM improvements). If that is not the case, that is a bug and I would like to know about it.
- enqk 8y agoI'll file some bug report. Because I've tried to build a plain hello_world.c for ppc (without using stdio even) and encountered issues with libunwind (had to fix the assembler syntax which apparently does not work anymore with modern llvm) and both musl and gnu libc were both complaining and could not be build.