(It's a long story, but mingw-w64 forked from. MinGW's official website provides various builds, but I maintain my own distro because I demand complete control. It produces standalone Windows executables which may be distributed in any manner.
It is free of charge and simple to use (well, as simple as toolchains ever get). Using two compilers that conform closely to the Standard subjects your code to more strenuous trials than using a single compiler would. I recommend that anyone who is learning Standard C++ and who uses Windows for a primary development environment should use two compilers: the most modern version of Microsoft Visual C++ and the most modern version of GCC, the GNU Compiler Collection. Unlike everything else, I obtained these executables from their official websites instead of building them myself. Utilities (Binary): More programs used by programmers.Utilities: Programs used by programmers.Essentials: The components of MinGW itself.The components of this distro fall into four categories: My build scripts are available on GitHub, and they're also stored within the distro itself. (49.3 MB) : This is smaller, if you've already installed git. It's incredibly easy to install see How To Install below.
Mingw-18.0.exe (96.9 MB) : This is a self-extracting archive.
My MinGW distribution ('distro') is 圆4-native and currently contains GCC 11.2.0 and Boost 1.77.0.