You can check the installation by looking in the C:\msys64\mingw64\bin folder – if the installation was successful there should be quite a few files in this folder, including gcc.exe, the compiler executable. The installation will take around four minutes depending on your internet and PC speed. When prompted to enter a selection, press enter twice to accept the default of all packages, then press y and enter to confirm the 190 MB download and installation of 95 packages. This will install GCC, as well as the debugger (GDB) and various other tools. Run pacman -S -needed base-devel mingw-w64-x86_64-toolchain. You’ll need to do another confirmation to proceed and the command will complete after about a minute.Īt this point, the compiler itself, GCC (GNU Compiler Collection), isn’t actually installed – this is the final step for MSYS2. Run pacman -Su (note it’s -Su this time rather than -Syu previously). Open up a new MSYS2 terminal by either going to C:\msys64 and running msys2.exe, or by pressing the Windows key and typing msys2 to run the MSYS2 app. © 2023 online-python.Press y then enter when prompted to proceed with the installation Visit to learn and practice top programming languages - C, C++, Java, Ruby, PHP, R, GoLang
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |