From 642d315c3709832fc70d5d9b303ad4fdaa05eeb6 Mon Sep 17 00:00:00 2001
From: Anthony Perkins 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
.%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 Finally, add Finally, add A profile can be added to Windows Terminal with the following settings: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.%LocalAppData%\Programs\msys64\ucrt64\bin
to the %PATH%
environment variable.%USERPROFILE%\msys64\ucrt64\bin
to the %PATH%
environment variable.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