Clarify that MSYS2 PATH is optional

This commit is contained in:
Anthony Rose 2023-05-09 10:53:31 +01:00
parent 642d315c37
commit 99ebf3d2ec

View file

@ -98,7 +98,7 @@ For more information, see <a href="https://www.msys2.org/docs/environments/">Env
<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>. <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%\msys64\ucrt64\bin</code> to the <code>%PATH%</code> environment variable.</p> <p>Optionally, add <code>%USERPROFILE%\msys64\ucrt64\bin</code> to the <code>%PATH%</code> environment variable to get access to the tools from the normal Windows Command Prompt or PowerShell.</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>