Factsheet
Videos
I tried to install MinGW-w64, downloaded it from sourceforge.net and followed instructions from so many youtube videos and all said to add bin folder to the path... I don't see any kind of folders like this, then I downloaded and tried to install the mingw-64-install.exe but while installing it always says "The file downloaded incorrectly" then I tried it with other downloaded intall.exe files but still the sam... Now i ran out of ideas what to do! PleasE HALP
GCC 10 is officially released. The personal build for Windows (MinGW-w64) that can be downloaded from https://winlibs.com requires no installation, just extract to a folder.
Building GCC on Windows from source code is very difficult and cannot be recommended to beginners. Moreover, GCC 10 has not yet been officially released and you may need to wait a few more weeks to get it.
If you want an up-to-date GCC in Windows (currently version 9.3), I recommend downloading and installing the MSYS2 package. Once you install it, launch it using the "MinGW64" icon and install the correct compiler in the terminal. For details, see this question: How to install MinGW-w64 and MSYS2?
Once you have done this, you can forget about MSYS2 and simply use the directory with the binaries in your PATH.
The maintainers of MSYS2 are very keen in supporting bleeding edge software, so once GCC 10 is released, you will be able to update to it (using the command pacman -Syu)
very soon.
Hello i'm on windows and I have been trying to code in c but i watched a YouTube saying I have to do the mingw process on sourceforge and it's been frustrating when I press next it just disappears can someone please help me I am very dedicated thanks
It indicates it couldn't find gcc.exe.
I have a path environment variable set to where MinGW is installed
Maybe you haven't set the path correctly?
echo %path%
does that include the path to gcc.exe? Otherwise, compilation is similar to Unix:
gcc filename.c -o filename
I've had this problem and couldn't find why it kept happening. The reason is simple: Once you have set up the environment paths, you have to close the CMD window, and open it again for it be aware of new environment paths.
