From af112e605d4d8f3015744b69ec7544d732f8dad9 Mon Sep 17 00:00:00 2001 From: Axel Date: Sun, 24 Nov 2024 16:44:37 +0100 Subject: [PATCH] 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. --- BUILD.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BUILD.md b/BUILD.md index e5b1dcc707..f4596723fb 100644 --- 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: