From 8b1a2c15abc7630483e60190cebf4327bd50f2fd Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Tue, 9 May 2023 13:54:12 +0100 Subject: [PATCH] Use the non-instller MSYS2 --- docs/PerUserInstallers.html | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/docs/PerUserInstallers.html b/docs/PerUserInstallers.html index 4d9da73..0036fc4 100644 --- a/docs/PerUserInstallers.html +++ b/docs/PerUserInstallers.html @@ -86,16 +86,19 @@ Then the Wix dark.exe command should be used to extract the VC_redi

MSYS2 (development environment)

-

Download

+

Download

-

Download and run the msys2-x86_64-*.exe installer. -Install to a directory that you have write access to, e.g. under %USERPROFILE%\msys64.

+

Download and run the msys2-base-x86_64-*.sfx.exe installer. +Install to a directory that you have write access to, e.g. under %USERPROFILE%\msys64. +Note: the installer will extract to .\msys64 by default.

-

Run the MSYS2 UCRT64 launcher. -UCRT64 is Microsoft's Universal C Runtime Library and is the preferred build environment on modern (Windows 10 and above) Windows operating systems. +

Start the MSYS2 UCRT64 environment by running ucrt64.exe. +UCRT64 is Microsoft's Universal C Runtime Library and is the preferred build environment on modern (Windows 10 and above) Windows operating systems. For more information, see Environments.

-

Update the MSYS2 environment with pacman -Syu and then install the toolchain package group with pacman -S mingw-w64-ucrt-x86_64-toolchain. +

Update the MSYS2 environment with pacman -Syu. +You might be prompted to terminate the environment to complete the installation of all the upates. +Relaunch ucrt64.exe if necessary, and install the toolchain package group with pacman -S mingw-w64-ucrt-x86_64-toolchain. This will install all of the build tools including gcc, g++, and mingw32-make, plus the libstdc and libstdc++ libraries.

Optionally, add %USERPROFILE%\msys64\ucrt64\bin to the %PATH% environment variable to get access to the tools from the normal Windows Command Prompt or PowerShell.