Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MinGW (x86_64-w64-mingw32-gcc not found)

Tags:

mingw

A make file I got is trying to use

x86_64-w64-mingw32-gcc.exe

but my system can't find it. Please see picture below.

enter image description here

x86_64-w64-mingw32-gcc.exe is not in C:\MinGW\bin where I expected to find it (although that directory does have gcc.exe and others).

For reference, I used the "Download Installer" link from http://www.mingw.org/ to install MinGW. I'm on a 64 bit Windows 7 machine.

Where/how am I supposed to get x86_64-w64-mingw32-gcc ?

like image 725
Niko Bellic Avatar asked Sep 10 '16 05:09

Niko Bellic


1 Answers

There are three main versions of the MingW:

1- mingw32-gcc.exe the compiler will build 32-bit applications on 32-bit systems.

2- i686-w64-mingw32-gcc.exe the compiler will build 32-bit applications on 64-bit systems.

3- x86_64-w64-mingw32-gcc.exe the compiler will build 64-bit applications on 64-bit systems.

of course, more details arise once you read the documentation. ensure you are installing the correct version.

like image 91
eliahonader Avatar answered Oct 20 '22 14:10

eliahonader