| ... | @@ -171,7 +171,8 @@ See https://github.com/ziglang/zig/wiki/Building-Zig-on-Windows | ... | @@ -171,7 +171,8 @@ See https://github.com/ziglang/zig/wiki/Building-Zig-on-Windows |
| 171 | *Note: Stage 2 compiler is not complete. Beta users of Zig should use the | 171 | *Note: Stage 2 compiler is not complete. Beta users of Zig should use the |
| 172 | Stage 1 compiler for now.* | 172 | Stage 1 compiler for now.* |
| 173 | | 173 | |
| 174 | Dependencies are the same as Stage 1, except now you have a working zig compiler. | 174 | Dependencies are the same as Stage 1, except now you can use stage 1 to compile |
| | 175 | Zig code. |
| 175 | | 176 | |
| 176 | ``` | 177 | ``` |
| 177 | bin/zig build --build-file ../build.zig --prefix $(pwd)/stage2 install | 178 | bin/zig build --build-file ../build.zig --prefix $(pwd)/stage2 install |
| ... | @@ -183,11 +184,13 @@ binary. | ... | @@ -183,11 +184,13 @@ binary. |
| 183 | | 184 | |
| 184 | ### Stage 3: Rebuild Self-Hosted Zig Using the Self-Hosted Compiler | 185 | ### Stage 3: Rebuild Self-Hosted Zig Using the Self-Hosted Compiler |
| 185 | | 186 | |
| 186 | This is the actual compiler binary that we will install to the system. | | |
| 187 | | | |
| 188 | *Note: Stage 2 compiler is not yet able to build Stage 3. Building Stage 3 is | 187 | *Note: Stage 2 compiler is not yet able to build Stage 3. Building Stage 3 is |
| 189 | not yet supported.* | 188 | not yet supported.* |
| 190 | | 189 | |
| | 190 | Once the self-hosted compiler can build itself, this will be the actual |
| | 191 | compiler binary that we will install to the system. Until then, users should |
| | 192 | use stage 1. |
| | 193 | |
| 191 | #### Debug / Development Build | 194 | #### Debug / Development Build |
| 192 | | 195 | |
| 193 | ``` | 196 | ``` |