Here is your guide to downloading and installing a free Fortran 77 compiler on Windows 10 64-bit.
A modern alternative that uses a package manager ( pacman ) to install gfortran.
A portable, single-file distribution of GCC (including gfortran) that requires no installation—just unzip and add it to your system path.
gfortran -std=legacy -o hello.exe hello.f ./hello.exe
: Visit the TDM-GCC download page and download the TDM64 bundle . Install : Run the installer and select Create for a new installation. Choose the MinGW-w64/TDM64 option.
You forgot to add the MinGW bin directory to PATH. Repeat Step 3 from Part 3, then restart Command Prompt.