🌐
Visual Studio Code
code.visualstudio.com › docs › cpp › config-mingw
Using GCC with MinGW
November 3, 2021 - You can install the C/C++ extension by searching for 'C++' in the Extensions view (⇧⌘X (Windows, Linux Ctrl+Shift+X)). Get the latest version of MinGW-w64 via MSYS2, which provides up-to-date native builds of GCC, MinGW-w64, and other helpful C++ tools and libraries.
🌐
Quora
quora.com › How-do-I-download-install-GCC-Compiler-for-C-in-Windows
How to download & install GCC Compiler for C in Windows - Quora
Answer (1 of 3): There are two main ways: 1. You can download the MinGW-32/64 compiler. 2. You can download Cygwin. The first is lightweight, and simple, the second one is complicated, because it emulate the Posix on your windows, it’s up ...
Discussions

windows - Is it possible to use GCC without Cygwin or MinGW? - Stack Overflow
@Mark No you don't. For example, ... other windows C/C++ application. ... Also, you don't have to include redistributable libraries with MSVC if you link them statically. ... For MinGW, you need MinGW in the sense that MinGW provides the implementation of the gcc language system. I don't see how your question makes sense - it's like "Can I use VC++ without installing ... More on stackoverflow.com
🌐 stackoverflow.com
how to install gcc on windows 7 machine? - Stack Overflow
I have MinGW on my windows 7 machine. I wish to install and use complete gcc for C compiler. I found there is no single pre-compiled ready-made installation file for this purpose. I checked the fol... More on stackoverflow.com
🌐 stackoverflow.com
.net - How to install GCC for Go on Windows 10? - Stack Overflow
I want to use external library on Go programming language and i am using this command for instance : go get github.com/alecthomas/gozmq from command line, but it gives such an error: github.com/p... 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
🌐
Instructables
instructables.com › design › software
How to Install MinGW GCC/G++ Compiler in Windows XP/7/8/8.1/10 : 5 Steps - Instructables
September 19, 2017 - How to Install MinGW GCC/G++ Compiler in Windows XP/7/8/8.1/10: Gcc and G++ are one of the best compilers for C and C++ in all platform. It's is lite, easy to use, and simple. But the packages and installation is not that simple. But it's clear and easy if you proceed one step at a time and ...
🌐
GNU
gcc.gnu.org › install › binaries.html
Installing GCC: Binaries - GNU Project
1 month ago - If you have any problems installing them, please contact their makers. AIX: AIX Open Source Packages (AIX5L AIX 6.1 AIX 7.1). DOS—DJGPP. macOS: The Homebrew package manager; MacPorts. 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
🌐
Terminal Root
terminalroot.com › how-to-install-the-new-version-of-gcc-mingw-on-windows
How to Install the New Version of GCC MinGW on Windows
May 30, 2025 - If extracting it didn’t create the mingw32 folder, it’s because it’s inside the folder: winlibs-i686-mcf-dwarf-gcc-15.1.0-mingw-w64ucrt-12.0.0-r1/. ... Do this only if this is your first installation.
Find elsewhere
🌐
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.
🌐
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).
🌐
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 ...
🌐
STMicroelectronics
st.com › development tools › software development tools › stm32 software development tools › stm32 ides › stm32cubeide
STM32CubeIDE | Software - STMicroelectronics
It is based on the Eclipse®/CDT™ framework and GCC toolchain for the development, and GDB for the debugging. It allows the integration of the hundreds of existing plugins that complete the features of the Eclipse® IDE. STM32CubeIDE integrates STM32 configuration and project creation functionalities from STM32CubeMX to offer all-in-one tool experience and save installation and development time.
🌐
Strawberry Perl
strawberryperl.com
Strawberry Perl for Windows
Strawberry Perl is a perl environment for MS Windows containing all you need to run and develop perl applications. It is designed to be as close as possible to perl environment on UNIX systems. It includes perl binaries, compiler (gcc) + related tools, all the external libraries (crypto, math, graphics, xml…), all the bundled database clients and all you expect from Strawberry Perl.
Top answer
1 of 5
96

EDIT Since not so recently by now, MinGW-w64 has "absorbed" one of the toolchain building projects. The downloads can be found here. The installer should work, and allow you to pick a version that you need.

Note the Qt SDK comes with the same toolchain. So if you are developing in Qt and using the SDK, just use the toolchain it comes with.

Another alternative that has up to date toolchains comes from... harhar... a Microsoft developer, none other than STL (Stephan T. Lavavej, isn't that a spot-on name for the maintainer of MSVC++ Standard Library!). You can find it here. It includes Boost.

Another option which is highly useful if you care for prebuilt dependencies is MSYS2, which provides a Unix shell (a Cygwin fork modified to work better with Windows pathnames and such), also provides a GCC. It usually lags a bit behind, but that is compensated for by its good package management system and stability. They also provide a functional Clang with libc++ if you care for such thing.

I leave the below for reference, but I strongly suggest against using MinGW.org, due to limitations detailed below. TDM-GCC (the MinGW-w64 version) provides some hacks that you may find useful in your specific situation, although I recommend using vanilla GCC at all times for maximum compatibility.


GCC for Windows is provided by two projects currently. They both provide a very own implementation of the Windows SDK (headers and libraries) which is necessary because GCC does not work with Visual Studio files.

  1. The older mingw.org, which @Mat already pointed you to. They provide only a 32-bit compiler. See here for the downloads you need:

    • Binutils is the linker and resource compiler etc.
    • GCC is the compiler, and is split in core and language packages
    • GDB is the debugger.
    • runtime library is required only for mingw.org
    • You might need to download mingw32-make seperately.
    • For support, you can try (don't expect friendly replies) [email protected]

    Alternatively, download mingw-get and use that.

  2. The newer mingw-w64, which as the name predicts, also provides a 64-bit variant, and in the future hopefully some ARM support. I use it and built toolchains with their CRT. Personal and auto builds are found under "Toolchains targetting Win32/64" here. They also provide Linux to Windows cross-compilers. I suggest you try a personal build first, they are more complete. Try mine (rubenvb) for GCC 4.6 to 4.8, or use sezero's for GCC 4.4 and 4.5. Both of us provide 32-bit and 64-bit native toolchains. These packages include everything listed above. I currently recommend the "MinGW-Builds" builds, as these are currently sanctioned as "official builds", and come with an installer (see above).

    For support, send an email to [email protected] or post on the forum via sourceforge.net.

Both projects have their files listed on sourceforge, and all you have to do is either run the installer (in case of mingw.org) or download a suitable zipped package and extract it (in the case of mingw-w64).

There are a lot of "non-official" toolchain builders, one of the most popular is TDM-GCC. They may use patches that break binary compatibility with official/unpatched toolchains, so be careful using them. It's best to use the official releases.

2 of 5
26

Download mingw-get and simply issue:

mingw-get install gcc.

See the Getting Started page.

🌐
Mise-en-place
mise.jdx.dev › getting-started.html
Getting Started | mise-en-place
1 week ago - This will show you how to install mise and get started with it. This is a suitable way when using an interactive shell like bash, zsh, or fish · By default, mise will be installed to ~/.local/bin (this is simply a suggestion. mise can be installed anywhere).
🌐
YouTube
youtube.com › watch
How to Install GCC Compiler Tools in Windows 11 (C/C++)
Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.
🌐
SourceForge
sourceforge.net › projects › mingw
MinGW - Minimalist GNU for Windows download | SourceForge.net
Download MinGW - Minimalist GNU for Windows for free. 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 to the MSVC runtime to support C99 functionality.
Rating: 4.3 ​ - ​ 223 votes
🌐
mingw-w64
mingw-w64.org
mingw-w64
A complete runtime environment for GCC & LLVM for 32-bit (x86), 64-bit (x64), and ARM64 Windows
🌐
Quora
quora.com › How-do-you-install-GCC-on-Windows
How to install GCC on Windows - Quora
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.
🌐
Stack Overflow
stackoverflow.com › questions › 50712718 › how-to-install-gcc-for-go-on-windows-10
.net - How to install GCC for Go on Windows 10? - Stack Overflow
Note: Installing mingw is the alternative but that will make your hair go grey. If you need to compile for windows (windows is your target system) then I suggest using xgo. It uses docker containers to compile to many different OS' in a single command. Summary: You can easily compile for windows without cgo, but when cgo is involved use unix for development and xgo for build (automation). ... If you're using an IDE like VS Code, it want's to have gcc in the path so it can give better error reporting while you're writing code, which is super useful even if you're only really compiling in the subsystem like I do 2018-08-09T14:17:32.62Z+00:00