How to install MinGW64 (non of the approaches work)
I am trying to install MinGW64 on Windows 10. Here is what I tried:
I went to http://mingw-w64.org/doku.php/download/win-builds and from there to http://win-builds.org/doku.php/download_and_installation_from_windows where I downloaded Win-builds 1.5.0. I run the exe and let it install everything. When it gets to install mingw64 it says that the Download failed (no further information). What should I do?
I also downloaded mingw-w64-v7.0.0 from https://sourceforge.net/projects/mingw-w64/, extracted the zip but have not idea what to do with the contents:
13.02.2020 13:37 .gitignore 13.02.2020 13:37 31.032 aclocal.m4 13.02.2020 13:37 2.398 AUTHORS 13.02.2020 13:37 <DIR> build-aux 13.02.2020 13:37 625 config.h.in 13.02.2020 13:37 123.961 configure 13.02.2020 13:37 3.268 configure.ac 13.02.2020 13:37 2.326 COPYING 13.02.2020 13:37 <DIR> COPYING.MinGW-w64 13.02.2020 13:37 <DIR> COPYING.MinGW-w64-runtime 13.02.2020 13:37 2.245 DISCLAIMER 13.02.2020 13:37 454 DISCLAIMER.PD 13.02.2020 13:37 745 Makefile.am 13.02.2020 13:37 25.337 Makefile.in 13.02.2020 13:38 <DIR> mingw-w64-crt 13.02.2020 13:38 <DIR> mingw-w64-doc 13.02.2020 13:39 <DIR> mingw-w64-headers 13.02.2020 13:39 <DIR> mingw-w64-libraries 13.02.2020 13:39 <DIR> mingw-w64-tools
From: mingw-w64 installer "the file has been downloaded incorrectly"
In https://stackoverflow.com/a/48519212/4533188 it was said that should download from https://sourceforge.net/projects/mingw-w64/files/mingw-w64/, so I went there downloaded
MinGW-W64-install.exe and ran it. The post says further
Once the compressed file downloaded, you have just to extract and copy/paste the MinGW64 folder( with the pre-compiled librairies) to your chosen folder ( in my case : C:\mingw64)
but I got a lot of files installed to
C:\Program Files\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\. So I copied the files of the folder to
C:\MinGW64, but it seems I still do not have it installed.
From How to install MinGW-w64 and MSYS2?
I went to https://www.msys2.org/, downloaded the
x86_64 version, went through the steps outlined in https://stackoverflow.com/a/40800825/4533188 - except for point 7. which I substituted with running
pacman -S mingw-w64-x86_64-cmake. This seems to have worked, but the folder
C:\MinGW64 is empty and running
gcc.exe --version says, the command could not be found. I have no idea where msys2 installed what and how I have to link/move what to get gcc to run.
How to install MinGW 64 bits on Windows?, Note that once it is installed you do not need to invoke msys2 to use the installer � How to install MinGW64 (non of the approaches work). The exact path depends on which version of Mingw-w64 you have installed and where you installed it. If you used the settings above to install Mingw-w64, then add this to the path: C:\Program Files\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin. Select OK to save the updated PATH. You will need to reopen any console windows for the new
The following approach did work for me. I got there via the link in https://stackoverflow.com/a/39113943/4533188
- Got to https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/
- Click on the newest version (e.g. 8.1.0)
- Click on x86_64-posix-sjlj
- Download the 7z-Archive
Alternative way of clicking around:
- Got to https://sourceforge.net/projects/mingw-w64/
- Click on files
- Click on x86_64-posix-sjlj of the version you want
- Download the 7z-Archive
- Unzip the archive
- Inside it there is the folder
mingw64- move it (and its contents) into
- The gcc can be found at
Getting Started, Thus, we strongly recommend that you do not install MinGW in any location with Both methods will allow you to modify the original installation packages, AFAIK, MinGW already does work with Vista, but why don't you just try it, and see; � In this video we will see How to Install MinGW (GCC/G++) Compiler in Windows 10. MinGW, a contraction of “Minimalist GNU for Windows”, is a minimalist develo
I had a similar problem installing MINGW-W64. What I did was to Run as Administrator, make sure the installation path contains no spaces.
Initially, I was installing it at
C:/Program Files (x86)/Mingw-w64 so I change to install it directly on
Install MinGW. MinGW means Minimalist GNU for Windows: GNU is a source of open source programming tools (GNU stands for GNU is Not Unix).. In this handout you will download the files needed by GNU C++; in the next you will download a version of Eclipse that is already set up to use MinGW.
I installed using the process BUT this release is quite old. The gcc.gnu.org page suggests current stable release is 4.4 while the MinGW installer installs 3.4. Also this installer has g77 which is no longer a part of GNU compiler suite, its replaced by fortran95.
How to install and use W32 and W64 cross-compilers under Linux Project-specific instructions For users looking for information about MinGW-w64, there are several topics:
#Go to SU to install the 1.0 cross-compilers for all users su #SU to root; give root password to continue cd /usr/ #Make installation directories in /usr/ #mkdir mw32 #If this is the first time, and mw32 doesn't exist yet #mkdir mw64 #If this is the first time, and mw64 doesn't exist yet #Install the 1.0 W32 cross-compiler cd mw32 rm -rf ./* #Remove previous installation, if any tar -xvf /home
- also see here, sjlj might not be the best option