๐ŸŒ
Visual Studio Code
code.visualstudio.com โ€บ docs โ€บ cpp โ€บ config-mingw
Using GCC with MinGW
November 3, 2021 - You can view the C/C++ configuration UI by running the command C/C++: Edit Configurations (UI) from the Command Palette (โ‡งโŒ˜P (Windows, Linux Ctrl+Shift+P)). This opens the C/C++ Configurations page. When you make changes here, VS Code writes them to a file called c_cpp_properties.json in the .vscode folder. Here, we've changed the Configuration name to GCC, set the Compiler path dropdown to the g++ compiler, and the IntelliSense mode to match the compiler (gcc-x64).
๐ŸŒ
GNU
gcc.gnu.org โ€บ install โ€บ binaries.html
Installing GCC: Binaries - GNU Project
1 month ago - Microsoft Windows: The Cygwin project; the mingw-w64 project. OpenPKG offers binaries for quite a number of platforms. The GFortran Wiki has links to GNU Fortran binaries for several platforms. Return to the GCC Installation page
Discussions

windows - Is it possible to use GCC without Cygwin or MinGW? - Stack Overflow
GCC is a very well respected multi-language compiler (from what I've gathered). One thing I've not been able to definitively find out is: Is it possible to use GCC on windows without anything extra... More on stackoverflow.com
๐ŸŒ stackoverflow.com
c - Is there a gcc equivalent in windows? - Stack Overflow
Visual studio is ok, but i really hate the fact that you have to go through all the process of project creation just to compile one source file. Is there any compiler in windows that allows compila... More on stackoverflow.com
๐ŸŒ stackoverflow.com
c++ - GCC worth using on Windows to replace MSVC? - Stack Overflow
I currently develop in C++ on Windows, using Visual Studio 2010. After the official announcement of C++11, I have begun to use some of its features that are already available in MSVC. But, as expec... More on stackoverflow.com
๐ŸŒ stackoverflow.com
Windows 10 Enterprise with Microsoft E3 GCC High

GCC-H guy here as well, it won't auto apply like Office 365 Commercial. Your vendor should provision the licensing for Win10 Enterprise to a Volume Licensing Portal. Weird but that's how it happens.

More on reddit.com
๐ŸŒ r/NISTControls
7
1
June 15, 2019
๐ŸŒ
WinLibs
winlibs.com
WinLibs - GCC+MinGW-w64 compiler for Windows
In short: it's a free C and C++ compiler for Microsoft Windows. GCC (GNU Compiler Collection) is a free and open source compiler for C and C++ (and other languages like Objective-C, Fortran, D). MinGW-w64 is a free and open source C library for targetting Windows 32-bit and 64-bit platforms.
๐ŸŒ
Admb-project
admb-project.org โ€บ tools โ€บ gcc
GCC for Windows
Version 4.9.2 of the GNU compiler (C/C++) for 64-bit Windows. Prepared by Arni Magnusson, based on tdm-gcc.
Find elsewhere
๐ŸŒ
SourceForge
sourceforge.net โ€บ projects โ€บ gcc-win64
gcc-win64 download | SourceForge.net
Download gcc-win64 for free. x64 build of GCC for Windows. x64 C/C++ compiler for Windows using (unofficial build): - gmp - mpfr - mpc - isl - cloog - mingw-w64 - gcc - seh You need at least core2 command set support to run this application. Note that every version with bundled gdb needs at least Windows 7.
๐ŸŒ
Instructables
instructables.com โ€บ design โ€บ software
Learn to Install GCC (Mingw-w64) Compiler Tools on Windows 10 Using MSYS2 : 9 Steps - Instructables
November 28, 2022 - Learn to Install GCC (Mingw-w64) Compiler Tools on Windows 10 Using MSYS2: We will learn How to install 64 bit (GCC) GNU Compiler Collection on a Windows 10 system using MSYS2 installer for C/C++ software development. After installing GCC, we will compile a Win32/64 GUI applicaโ€ฆ
๐ŸŒ
mingw-w64
mingw-w64.org
mingw-w64
A complete runtime environment for GCC & LLVM for 32-bit (x86), 64-bit (x64), and ARM64 Windows
๐ŸŒ
element14 Community
community.element14.com โ€บ technologies โ€บ code_exchange โ€บ b โ€บ blog โ€บ posts โ€บ gcc-15-1-for-windows-is-available
GCC 15.1 for Windows is available - element14 Community
June 30, 2025 - If you're interested to try out the latest C++26 options: The Windows port for GCC 15.1 is available for download I installed GCC 15.1.0 (with POSIX threads) + MinGW-w64 13.0.0 UCRT - release 2. To install, download the zip file, and extract somewhere as administratorIf you want, you can add its bi
๐ŸŒ
DEV Community
dev.to โ€บ gamegods3 โ€บ how-to-install-gcc-in-windows-10-the-easier-way-422j
GCC for Windows: How to install gcc in Windows 10? (the easier way) - DEV Community
December 12, 2021 - To install the GNU Compiler Collection (GCC) on Windows 10, you can use the MSYS2 environment, which provides a Unix-like shell and a package management system for Windows.
๐ŸŒ
Quora
quora.com โ€บ How-do-you-install-GCC-on-Windows
How to install GCC on Windows - Quora
Answer (1 of 4): Steps to download and install the MinGW GCC Compiler for windows. Step 1: Search MinGW C Compiler on the Web To download the MinGW compiler, go to your favorite browser and search MinGW C Compiler or click on the sourceforge.net link. Step 2: Download MinGW. After clicking on t...
๐ŸŒ
SourceForge
sourceforge.net โ€บ projects โ€บ mingw
MinGW - Minimalist GNU for Windows download | SourceForge.net
A native Windows port of the GNU Compiler Collection (GCC) MinGW: A native Windows port of the GNU Compiler Collection (GCC), with freely distributable import libraries and header files for building native Windows applications; includes extensions ...
Rating: 4.3 โ€‹ - โ€‹ 223 votes
๐ŸŒ
PhoenixNAP
phoenixnap.com โ€บ home โ€บ kb โ€บ devops and development โ€บ how to install gcc on windows
How to Install GCC on Windows
September 23, 2024 - Install GCC on Windows using one of three methods: MinGW-w64, Chocolatey, or Windows Subsystem for Linux (WSL).
๐ŸŒ
Sololearn
sololearn.com โ€บ en โ€บ Discuss โ€บ 1465401 โ€บ how-do-i-install-gcc-compiler-on-windows-10-64-bit
How do I install GCC compiler on Windows 10 (64 bit)? | Sololearn: Learn to code for FREE!
August 21, 2018 - Its easy to install GCC on your windows machine. Just download TDM Gcc compiler here is a link to it. https://sourceforge.net/projects/tdm-gcc/ Once you install it you are good to go. Make your C program and save it as .C extension. Then open Command prompt by typing cmd on keyboard.
Top answer
1 of 8
71

MSVC has the huge advantage of coming with an IDE that has no equals under Windows, including debugger support.

The probably best alternative for MinGW would be Code::Blocks, but there are worlds in between, especially regarding code completion and the debugger.

Also, MSVC lets you use some proprietary Microsoft stuff (MFC, ATL, and possibly others) that MinGW has no support for, and makes using GDI+ and DirectX easier and more straightforward (though it is possible to do both with MinGW).

Cygwin, as mentioned in another post, will have extra dependencies and possible license issues (the dependency is GPL, so your programs must be, too). MinGW does not have any such dependency or issue.

MinGW also compiles significantly slower than MSVC (though precompiled headers help a little).

Despite all that, GCC/MinGW is an entirely reliable quality compiler, which in my opinion outperforms any to date available version of MSVC in terms of quality of generated code.
This is somewhat less pronounced with the most recent versions of MSVC, but still visible. Especially for anything related to SSE, intrinsics, and inline assembly, GCC has been totally anihilating MSVC ever since (though they're slowly catching up).

Standards compliance is a lot better in GCC too, which can be a double-edged sword (because it can mean that some of your code won't compile on the more conforming compiler!), as is C++11 support.

MinGW optionally also supports DW2 exceptions, which are totally incompatible with the "normal" flavour and take more space in the executable, but on the positive side are "practically zero cost" in runtime.

2 of 8
18

I want to add some information because the field may have changed since the question was asked.

The main problem for switching away from MSVC was the lack of a good IDE that flawlessly integrates with MinGW . Visual Studio is a very powerful tool and was the only player on Windows for quite some time. However, Jetbrains released a preview version of their new C++ IDE CLion some days ago.

The main benefit comes when working on cross platform applications. In this case, a GCC based tool chain can make life much easier. Moreover, CLion narrowly integrates with CMake, which is also a big plus compared to Visual Studio. Therefore, in my opinion, it is worth to consider switching to MinGW now.

๐ŸŒ
GIGABYTE
gigabyte.com โ€บ consumer โ€บ software โ€บ gigabyte-control-center
GIGABYTE CONTROL CENTER - GIGABYTE Global
GIGABYTE Control Center (GCC) is a unified software platform across a variety of GIGABYTE products. Every available utility preferred is optimized and integrated with intuition ...
๐ŸŒ
GNU
gcc.gnu.org
GCC, the GNU Compiler Collection - GNU Project
The GNU Compiler Collection includes front ends for C, C++, Objective-C, Objective-C++, Fortran, Ada, Go, D, Modula-2, COBOL, Rust, and Algol 68 as well as libraries for these languages (libstdc++,...). GCC was originally written as the compiler for the GNU operating system.