mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
README: LLVM-less builds are more capable now
This commit is contained in:
parent
bb1bf5b96f
commit
f7d47aed47
16
README.md
16
README.md
@ -76,23 +76,15 @@ This produces a `zig2` executable in the current working directory. This is a
|
||||
[without LLVM extensions](https://github.com/ziglang/zig/issues/16270), and is
|
||||
therefore lacking these features:
|
||||
- Release mode optimizations
|
||||
- [aarch64 machine code backend](https://github.com/ziglang/zig/issues/21172)
|
||||
- [@cImport](https://github.com/ziglang/zig/issues/20630)
|
||||
- [zig translate-c](https://github.com/ziglang/zig/issues/20875)
|
||||
- [Ability to compile assembly files](https://github.com/ziglang/zig/issues/21169)
|
||||
- [Some ELF linking features](https://github.com/ziglang/zig/issues/17749)
|
||||
- [Most COFF/PE linking features](https://github.com/ziglang/zig/issues/17751)
|
||||
- [Some COFF/PE linking features](https://github.com/ziglang/zig/issues/17751)
|
||||
- [Some WebAssembly linking features](https://github.com/ziglang/zig/issues/17750)
|
||||
- [Ability to create import libs from def files](https://github.com/ziglang/zig/issues/17807)
|
||||
- [Ability to create static archives from object files](https://github.com/ziglang/zig/issues/9828)
|
||||
- [Ability to compile assembly files](https://github.com/ziglang/zig/issues/21169)
|
||||
- Ability to compile C, C++, Objective-C, and Objective-C++ files
|
||||
|
||||
However, a compiler built this way does provide a C backend, which may be
|
||||
useful for creating system packages of Zig projects using the system C
|
||||
toolchain. **In this case, LLVM is not needed!**
|
||||
|
||||
Furthermore, a compiler built this way provides an LLVM backend that produces
|
||||
bitcode files, which may be compiled into object files via a system Clang
|
||||
Even when built this way, Zig provides an LLVM backend that produces bitcode
|
||||
files, which may be optimized and compiled into object files via a system Clang
|
||||
package. This can be used to produce system packages of Zig applications
|
||||
without the Zig package dependency on LLVM.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user