commit af112e605d4d8f3015744b69ec7544d732f8dad9
parent 21371c9259e8b60278f361b1961b297ae3a4b41e
Author: Axel <axelhjq@gmail.com>
Date: Sun, 24 Nov 2024 16:44:37 +0100
docs(build): suggest ucrt64 for msys2 #31312
Problem:
The default invocation would install the non-ucrt gcc package, the build would
fail now that UCRT is not supported. #22534
Solution:
Mention mingw-w64-ucrt pacman package instead.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/BUILD.md b/BUILD.md
@@ -131,12 +131,12 @@ https://github.com/cascent/neovim-cygwin was built on Cygwin 2.9.0. Newer `libuv
1. From the MSYS2 shell, install these packages:
```
pacman -S \
- mingw-w64-x86_64-{gcc,cmake,make,ninja,diffutils}
+ mingw-w64-ucrt-x86_64-{gcc,cmake,make,ninja,diffutils}
```
2. From the Windows Command Prompt (`cmd.exe`), set up the `PATH` and build.
```cmd
- set PATH=c:\msys64\mingw64\bin;c:\msys64\usr\bin;%PATH%
+ set PATH=c:\msys64\ucrt64\bin;c:\msys64\usr\bin;%PATH%
```
3. You have two options:
- Build using `cmake` and `Ninja` generator: