| ... | @@ -66,9 +66,6 @@ page on the wiki. | ... | @@ -66,9 +66,6 @@ page on the wiki. |
| 66 | | 66 | |
| 67 | ## Building from Source without LLVM | 67 | ## Building from Source without LLVM |
| 68 | | 68 | |
| 69 | If you don't need your Zig compiler to have LLVM extensions enabled, you can | | |
| 70 | follow these instructions instead. | | |
| 71 | | | |
| 72 | In this case, the only system dependency is a C compiler. | 69 | In this case, the only system dependency is a C compiler. |
| 73 | | 70 | |
| 74 | ``` | 71 | ``` |
| ... | @@ -76,10 +73,31 @@ cc -o bootstrap bootstrap.c | ... | @@ -76,10 +73,31 @@ cc -o bootstrap bootstrap.c |
| 76 | ./bootstrap build | 73 | ./bootstrap build |
| 77 | ``` | 74 | ``` |
| 78 | | 75 | |
| 79 | You can pass any options to this that you would pass to `zig build`. | 76 | You can pass any options to this that you would pass to `zig build` (see |
| | 77 | `--help` for options). |
| | 78 | |
| | 79 | [Without LLVM extensions](https://github.com/ziglang/zig/issues/16270), a Zig |
| | 80 | compiler is missing these features: |
| | 81 | - Release mode optimizations |
| | 82 | - aarch64 machine code backend |
| | 83 | - `@cImport` / `zig translate-c` |
| | 84 | - Ability to compile C files |
| | 85 | - Ability to compile assembly files |
| | 86 | - [Some ELF linking features](https://github.com/ziglang/zig/issues/17749) |
| | 87 | - [Most COFF/PE linking features](https://github.com/ziglang/zig/issues/17751) |
| | 88 | - [Some WebAssembly linking features](https://github.com/ziglang/zig/issues/17750) |
| | 89 | - [COFF linking](https://github.com/ziglang/zig/issues/17751) |
| | 90 | - [Ability to output LLVM bitcode](https://github.com/ziglang/zig/issues/13265) |
| | 91 | - [Windows resource file compilation](https://github.com/ziglang/zig/issues/17752) |
| | 92 | - [Ability to create import libs from def files](https://github.com/ziglang/zig/issues/17807) |
| | 93 | - [Automatic importlib file generation for Windows DLLs](https://github.com/ziglang/zig/issues/17753) |
| | 94 | - [Ability to create static archives from object files](https://github.com/ziglang/zig/issues/9828) |
| | 95 | - Ability to compile C++, Objective-C, and Objective-C++ files |
| 80 | | 96 | |
| 81 | ## Contributing | 97 | ## Contributing |
| 82 | | 98 | |
| | 99 | [Donate monthly](https://ziglang.org/zsf/). |
| | 100 | |
| 83 | Zig is Free and Open Source Software. We welcome bug reports and patches from | 101 | Zig is Free and Open Source Software. We welcome bug reports and patches from |
| 84 | everyone. However, keep in mind that Zig governance is BDFN (Benevolent | 102 | everyone. However, keep in mind that Zig governance is BDFN (Benevolent |
| 85 | Dictator For Now) which means that Andrew Kelley has final say on the design | 103 | Dictator For Now) which means that Andrew Kelley has final say on the design |