I installed g95-MinGW-41.exe (marked experimental) which I got from
http://ftp.g95.org/g95-Cygwin-41.exe
There are two things to note.
(1) Install it in a folder (directory) which does not have any spaces
in the name, I used C:\g95
(2) You have to set up your Path manually, as Windows 7 does not do it
for you automatically (I guess Bill Gates doesn't approve of Fortran
since they stopped producing their own compiler some time ago). You
can do this using:
Start | settings | Control Panel | System | Advanced System settings |
Environment variables
The one you want is the Path system variable (not PATH user variable)
and you need to insert the path to the g95 binary, for example I
installed g95 in the directory C:\g95 so I inserted "C:\g95\bin:" -
don't forget to follow it with a colon to separate it from the rest of
the Path string. Doing the edit is difficult because the nice people
at Microsoft gave us a text window about 20 characters wide in which
to view and edit a string which can easily be hundreds of characters
long, but that's about par for this user-hostile operating system.