1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-03-28 14:56:28 +01:00

Update "Before you begin" help to reference MSYS2 packages

Co-authored-by: Jonah Graham <jonah@kichwacoders.com>
This commit is contained in:
John Dallaway 2025-02-15 14:20:10 +00:00 committed by GitHub
parent f43b833f01
commit 6fd372066e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,17 +30,27 @@ Cygwin produces executables that use the Cygwin POSIX runtime. Note that this ru
MinGW produces native Windows executables that do not require a separate runtime.</p>
<ul>
<li><p>For <strong>MinGW</strong>, it is recommended to use the MinGW installer, mingw-get, to manage your
MinGW installation. Download and run the lateset mingw-get-inst package from the
<a href="https://sourceforge.net/projects/mingw/files">MinGW Downloads page.</a>
The CDT MinGW toolchain will find this install if it is located in the default C:\MinGW directory, the MinGW bin
directory is placed in your path, or if the MinGW location is stored in the MINGW_HOME environment variable.</p>
<p>Note that the Wascana IDE has been discontinued.</p>
<li><p>For <strong>MinGW</strong>, it is recommended to use the MSYS2 software distribution.
The CDT will automatically detect tools that are installed using the MSYS2 package manager.
Download and run the latest MSYS2 installer by following instructions on the <a href="https://www.msys2.org/">MSYS2 Getting Started</a> page.
When you reach the UCRT64 environment prompt, use the following commands to install individual tools:</p>
<p />
<p><table style="border: 1px solid grey; border-collapse: collapse;">
<tr><th style="border: 1px solid grey; padding: 5px;">Tool</th> <th style="border: 1px solid grey; padding: 5px;">Installation command</th><tr>
<tr><td style="border: 1px solid grey; padding: 5px;">clangd</td> <td style="border: 1px solid grey; padding: 5px;"><tt>pacman -S mingw-w64-ucrt-x86_64-clang-tools-extra</tt></td></tr>
<tr><td style="border: 1px solid grey; padding: 5px;">cmake</td> <td style="border: 1px solid grey; padding: 5px;"><tt>pacman -S mingw-w64-ucrt-x86_64-cmake</tt></td></tr>
<tr><td style="border: 1px solid grey; padding: 5px;">gcc</td> <td style="border: 1px solid grey; padding: 5px;"><tt>pacman -S mingw-w64-ucrt-x86_64-gcc</tt></td></tr>
<tr><td style="border: 1px solid grey; padding: 5px;">gdb</td> <td style="border: 1px solid grey; padding: 5px;"><tt>pacman -S mingw-w64-ucrt-x86_64-gdb</tt></td></tr>
<tr><td style="border: 1px solid grey; padding: 5px;">make</td> <td style="border: 1px solid grey; padding: 5px;"><tt>pacman -S make</tt></td></tr>
<tr><td style="border: 1px solid grey; padding: 5px;">ninja</td> <td style="border: 1px solid grey; padding: 5px;"><tt>pacman -S mingw-w64-ucrt-x86_64-ninja</tt></td></tr>
</table></p>
</li>
<li><p><strong>Cygwin</strong> can be installed from the Cygwin site at
<a href="https://www.cygwin.com">https://www.cygwin.com</a>. You need to manually select
the gcc, gdb, and make packages to install the toolchain.</p>
the gcc, gdb, and make packages to install the toolchain.
Note that there is a <a href="https://github.com/eclipse-cdt/cdt/issues/228">known issue</a>
with running recent versions of Cygwin gdb under the CDT.</p>
</li>
<li><p>The <strong>Windows SDK</strong> provides the Visual C++ compiler and header files and libraries required