Skip to content

Instantly share code, notes, and snippets.

View sombraguerrero's full-sized avatar

Robert Setter sombraguerrero

  • Minneapolis, MN
View GitHub Profile
@sombraguerrero
sombraguerrero / installing-cpp-on-windows.md
Last active December 19, 2025 10:44 — forked from ahmednawazkhan/installing-cpp-on-windows.md
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}