diff --git a/README.md b/README.md index a978a2790daa2415cdedf4318f6692069a419d93..3f662d6d95956590e61390806dd80088c3cad9ad 100644 --- a/README.md +++ b/README.md @@ -120,9 +120,9 @@ directory `out/zig-$target-$cpu` and `out/$target-$cpu`, to be used as ```sh "$ZIG_PREFIX/zig" build \ + --zig-lib=lib \ -p stage3 \ --search-prefix "$LLVM_PREFIX" \ - --zig-lib-dir "lib" \ -Dstatic-llvm ``` @@ -193,7 +193,7 @@ You now have the `zig.exe` binary at `stage3\bin\zig.exe`. Unzip the dev kit and then in cmd.exe in your Zig source checkout: ```bat -$DEVKIT\bin\zig.exe build -p stage3 --search-prefix $DEVKIT --zig-lib-dir lib -Dstatic-llvm -Duse-zig-libcxx -Dtarget=x86_64-windows-gnu +$DEVKIT\bin\zig.exe build --zig-lib=lib -p stage3 --search-prefix $DEVKIT -Dstatic-llvm -Duse-zig-libcxx -Dtarget=x86_64-windows-gnu ``` Replace `$DEVKIT` with the path to the folder that you unzipped after