From a6fe3972a4bffddd290e1f38ec9961f87c9eb46a Mon Sep 17 00:00:00 2001
From: Anthony Perkins
Update the MSYS2 environment with pacman -Syu
and then install the toolchain package group with pacman -S mingw-w64-ucrt0x86_64-toolchain
.
This will install all of the build tools including gcc
, g++
, and mingw32-make
, plus the libstdc
and libstdc++
libraries.
Finally, add %USERPROFILE%\opt\msys64\urct64\bin
to the %PATH%
environment variable.
Finally, add %USERPROFILE%\opt\msys64\ucrt64\bin
to the %PATH%
environment variable.
A profile can be added to Windows Terminal with the following settings:
MSYS2 URCT64
MSYS2 UCRT64
%USERPROFILE%\opt\msys64\msys2_shell.cmd -defterm -here -no-start -ucrt64
%USERPROFILE%\opt\msys64\home\%USERNAME%
%USERPROFILE%\opt\msys64\urct64.ico
%USERPROFILE%\opt\msys64\ucrt64.ico