Mingw-w64
Mingw-w64 is an advancement of the original mingw.org project, created to support the GCC compiler on Windows systems. It has forked it in 2007 in order to provide support for 64 bits and new APIs. It has since then gained widespread use and distribution.
For Windows:-
- Download Mingw-w64 setup for windows from here - Download
- Select the installation directory (Leave it as it is Recommended )
- Click on continue
- Now the download of the package start
- Click on continue, then it will start the Mingw installation manager
- Now it will ask "Ok to proceed?" click apply
- It will take some time depending on your Internet speed
- Now go to the folder where u installed Mingw (check step 2 installation directory) for my case Mingw is installed in
C:\\Mingw\
- Now go to "bin" directory in Mingw Folder
- Copy the location of the directory up to bin
- Now, Press "windows key + s " or simply search "Environment variables"
- Open "Edit the system environment variables"
- Click ok & Close all the window
- It will open command prompt (cmd)
- Then type
gcc --version
- It will show the installed Mingw version
- If it throws error
'gcc' is not recognized as internal or external command
- Then u must have missed any step check the path variable location again.
0 Comments