From 642d315c3709832fc70d5d9b303ad4fdaa05eeb6 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Tue, 9 May 2023 10:36:00 +0100 Subject: [PATCH] Move MSYS2 install --- docs/PerUserInstallers.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/PerUserInstallers.html b/docs/PerUserInstallers.html index 1cc6a9a..b02e551 100644 --- a/docs/PerUserInstallers.html +++ b/docs/PerUserInstallers.html @@ -89,7 +89,7 @@ Then the Wix dark.exe command should be used to extract the VC_redi

Download

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

+Install to a directory that you have write access to, e.g. under %USERPROFILE%\msys64.

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. @@ -98,7 +98,7 @@ For more information, see Env

Update the MSYS2 environment with pacman -Syu and then 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.

-

Finally, add %LocalAppData%\Programs\msys64\ucrt64\bin to the %PATH% environment variable.

+

Finally, add %USERPROFILE%\msys64\ucrt64\bin to the %PATH% environment variable.

A profile can be added to Windows Terminal with the following settings:

@@ -110,15 +110,15 @@ This will install all of the build tools including gcc, g++ Command line: - %LocalAppData%\Programs\msys64\msys2_shell.cmd -defterm -here -no-start -ucrt64 + %USERPROFILE%\msys64\msys2_shell.cmd -defterm -here -no-start -ucrt64 Starting directory: - %LocalAppData%\Programs\msys64\home\%USERNAME% + %USERPROFILE%\msys64\home\%USERNAME% Icon: - %LocalAppData%\Programs\msys64\ucrt64.ico + %USERPROFILE%\msys64\ucrt64.ico