| ... | @@ -120,9 +120,9 @@ directory `out/zig-$target-$cpu` and `out/$target-$cpu`, to be used as | ... | @@ -120,9 +120,9 @@ directory `out/zig-$target-$cpu` and `out/$target-$cpu`, to be used as |
| 120 | | 120 | |
| 121 | ```sh | 121 | ```sh |
| 122 | "$ZIG_PREFIX/zig" build \ | 122 | "$ZIG_PREFIX/zig" build \ |
| | 123 | --zig-lib=lib \ |
| 123 | -p stage3 \ | 124 | -p stage3 \ |
| 124 | --search-prefix "$LLVM_PREFIX" \ | 125 | --search-prefix "$LLVM_PREFIX" \ |
| 125 | --zig-lib-dir "lib" \ | | |
| 126 | -Dstatic-llvm | 126 | -Dstatic-llvm |
| 127 | ``` | 127 | ``` |
| 128 | | 128 | |
| ... | @@ -193,7 +193,7 @@ You now have the `zig.exe` binary at `stage3\bin\zig.exe`. | ... | @@ -193,7 +193,7 @@ You now have the `zig.exe` binary at `stage3\bin\zig.exe`. |
| 193 | Unzip the dev kit and then in cmd.exe in your Zig source checkout: | 193 | Unzip the dev kit and then in cmd.exe in your Zig source checkout: |
| 194 | | 194 | |
| 195 | ```bat | 195 | ```bat |
| 196 | $DEVKIT\bin\zig.exe build -p stage3 --search-prefix $DEVKIT --zig-lib-dir lib -Dstatic-llvm -Duse-zig-libcxx -Dtarget=x86_64-windows-gnu | 196 | $DEVKIT\bin\zig.exe build --zig-lib=lib -p stage3 --search-prefix $DEVKIT -Dstatic-llvm -Duse-zig-libcxx -Dtarget=x86_64-windows-gnu |
| 197 | ``` | 197 | ``` |
| 198 | | 198 | |
| 199 | Replace `$DEVKIT` with the path to the folder that you unzipped after | 199 | Replace `$DEVKIT` with the path to the folder that you unzipped after |