This commit is contained in:
Anthony Rose 2023-03-22 11:18:14 +00:00
parent a6fe3972a4
commit 2a292e26e4

View file

@ -58,7 +58,7 @@ cd %USERPROFILE%\opt\7zip
<p>Run the <em>MSYS2 UCRT64</em> launcher. <p>Run the <em>MSYS2 UCRT64</em> launcher.
<em>UCRT64</em> is Microsoft's <em>Universal C Runtime Library</em> and is the preferred build environment on modern (Windows 10 and above) Windows operating systems. <em>UCRT64</em> is Microsoft's <em>Universal C Runtime Library</em> and is the preferred build environment on modern (Windows 10 and above) Windows operating systems.
For more information, see <a href="https://www.msys2.org/docs/environments/">Environments</a>.</p> For more information, see <a href="https://www.msys2.org/docs/environments/">Environments</a>.</p>
<p>Update the MSYS2 environment with <code>pacman -Syu</code> and then install the toolchain package group with <code>pacman -S mingw-w64-ucrt0x86_64-toolchain</code>. <p>Update the MSYS2 environment with <code>pacman -Syu</code> and then install the toolchain package group with <code>pacman -S mingw-w64-ucrt-x86_64-toolchain</code>.
This will install all of the build tools including <code>gcc</code>, <code>g++</code>, and <code>mingw32-make</code>, plus the <code>libstdc</code> and <code>libstdc++</code> libraries.</p> This will install all of the build tools including <code>gcc</code>, <code>g++</code>, and <code>mingw32-make</code>, plus the <code>libstdc</code> and <code>libstdc++</code> libraries.</p>
<p>Finally, add <code>%USERPROFILE%\opt\msys64\ucrt64\bin</code> to the <code>%PATH%</code> environment variable.</p> <p>Finally, add <code>%USERPROFILE%\opt\msys64\ucrt64\bin</code> to the <code>%PATH%</code> environment variable.</p>
<p>A profile can be added to Windows Terminal with the following settings:</p> <p>A profile can be added to Windows Terminal with the following settings:</p>