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.
This commit is contained in:
Axel 2024-11-24 16:44:37 +01:00 committed by GitHub
parent 21371c9259
commit af112e605d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: 1. From the MSYS2 shell, install these packages:
``` ```
pacman -S \ 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. 2. From the Windows Command Prompt (`cmd.exe`), set up the `PATH` and build.
```cmd ```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: 3. You have two options:
- Build using `cmake` and `Ninja` generator: - Build using `cmake` and `Ninja` generator: