Hello, I have managed to install the gfortran compiler, thanks for your help and guidance. Best regards, Ovais ________________________________ From: J.W. Jagersma <jwjagersma@xxxxxxxxx> Sent: Thursday, March 15, 2018 11:56:26 PM To: sisyphus1@xxxxxxxxxxxxxxx; Ovais Khan Cc: gcc-help@xxxxxxxxxxx Subject: Re: gfortran 7 compiler On 2018-03-16 03:06, sisyphus1@xxxxxxxxxxxxxxx wrote: > > > -----Original Message----- From: Ovais Khan > Sent: Friday, March 16, 2018 12:36 PM > To: Jonathan Wakely > Cc: gcc-help@xxxxxxxxxxx > Subject: Re: gfortran 7 compiler > >> Yes, I did tried that link but I did not get the gfortran compiler for >> windows, as I was getting earlier, e.g. in 2012 I have downloaded >> gfortran windows compiler very easily, but now I couldn't find any. >> Also, I checked the other link but couldn't find the gfortran compiler >> for windows. > > I get the mingw-w64 compilers from the list at: > https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/7.2.0/ > > > These compilers include gfortran. > > I've not tried the installer that's on offer there, but under the > "MinGW-W64 GCC-7.2.0" heading, you'll see 4 64-bit compilers (x86_64) > offering a choice of posix/win32 threads x a choice of sjlj/seh > exception handling, and 4 32-bit compilers (i686) offering achoice of > posix/win32 threads x a choice of sjlj/dwarf exception handling. > The ones with posix threads and without sjlj exception handling are, I > believe, the most popular. > > I have: > https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/7.2.0/threads-posix/seh/x86_64-7.2.0-release-posix-seh-rt_v5-rev0.7z > > and > https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/7.2.0/threads-posix/dwarf/i686-7.2.0-release-posix-dwarf-rt_v5-rev0.7z > > > both of which are fine. > > Cheers, > Rob > > Look up MSYS2. After installing that, getting a fortran compiler is as easy as: pacman -Sy mingw-w64-x86_64-gcc-fortran