Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save sombraguerrero/8f3e0b0ec10625fad0b56e0f55e38d5f to your computer and use it in GitHub Desktop.

Select an option

Save sombraguerrero/8f3e0b0ec10625fad0b56e0f55e38d5f to your computer and use it in GitHub Desktop.
Install C++/Mingw-w64/g++ on windows

Installing C++/g++/Mingw-w64 on Windows

  1. Install Msys2 from msys2.org
  2. Complete the steps and open Msys2
  3. Update package databases pacman -Syu
  4. Update rest of base packages pacman -Su
  5. Using UCRT64 as the recommended environment, install Mingw-w64 pacman -S $MINGW_PACKAGE_PREFIX-{toolchain,ntldd}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment