authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-08-22 14:06:01-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-08-22 14:06:01-07:00
logc262061129f0c19a276779e4102da99eca58536a
tree8f6d68d205651b832d9a406e40963f613d5d4861
parent205e17a73cd6c0d30bab1e232ef872f75bfc0035

update readme


1 files changed, 11 insertions(+), 7 deletions(-)

README.md+11-7
......@@ -76,21 +76,25 @@ This produces a `zig2` executable in the current working directory. This is a
7676[without LLVM extensions](https://github.com/ziglang/zig/issues/16270), and is
7777therefore lacking these features:
7878- Release mode optimizations
79- aarch64 machine code backend
80- `@cImport` / `zig translate-c`
81- Ability to compile C files
82- Ability to compile assembly files
79- [aarch64 machine code backend](https://github.com/ziglang/zig/issues/21172)
80- [@cImport](https://github.com/ziglang/zig/issues/20630)
81- [zig translate-c](https://github.com/ziglang/zig/issues/20875)
82- [Ability to compile assembly files](https://github.com/ziglang/zig/issues/21169)
8383- [Some ELF linking features](https://github.com/ziglang/zig/issues/17749)
8484- [Most COFF/PE linking features](https://github.com/ziglang/zig/issues/17751)
8585- [Some WebAssembly linking features](https://github.com/ziglang/zig/issues/17750)
8686- [Ability to create import libs from def files](https://github.com/ziglang/zig/issues/17807)
87- [Automatic importlib file generation for Windows DLLs](https://github.com/ziglang/zig/issues/17753)
8887- [Ability to create static archives from object files](https://github.com/ziglang/zig/issues/9828)
89- Ability to compile C++, Objective-C, and Objective-C++ files
88- Ability to compile C, C++, Objective-C, and Objective-C++ files
9089
9190However, a compiler built this way does provide a C backend, which may be
9291useful for creating system packages of Zig projects using the system C
93toolchain. In such case, LLVM is not needed!
92toolchain. **In this case, LLVM is not needed!**
93
94Furthermore, a compiler built this way provides an LLVM backend that produces
95bitcode files, which may be compiled into object files via a system Clang
96package. This can be used to produce system packages of Zig applications
97without the Zig package dependency on LLVM.
9498
9599## Contributing
96100