How to install MinGW 64 on Windows 10

67.7k Views Asked by At

I'm trying to install MinGW64 to get a 64-bit C compiler, but I'm facing difficulties trying to follow online tutorials.

I first downloaded MinGW-w64 for 32 and 64-bit Windows from SourceForge by clicking on the green button saying "Download Latest Version".

But instead of finding an installer, I received a folder named 'mingw-w64-v11.0.0' containing the following subfolders:

  • build-aux
  • COPYING.MinGW-w64
  • COPYING.MinGW-w64-runtime
  • mingw-w64-crt
  • mingw-w64-doc
  • mingw-w64-headers
  • mingw-w64-libraries
  • mingw-w64-tools

I can't locate any executables or an installer. I already have the 32-bit version installed in 'C:\MinGW.'

How can I proceed to install the 64-bit version? Your help is much appreciated.

2

There are 2 best solutions below

0
AudioBubble On BEST ANSWER
0
Brecht Sanders On

You can get a MinGW-w64 build that requires no installation from http://winlibs.com/, just extract the archive and start using it. The site also explains how to use the compiler from Code::Blocks IDE.