Thank you for your answer, but I don't understand how can that be. Quoting from their website:
"MinGW includes:
A port of the GNU Compiler Collection (GCC), including C, C++, ADA and Fortran compilers;"
Is the one included in codeblocks' download a different one? And if so, then I should download a Fortran compiler and make what changes in Codeblocks-->settings-->compiler ?
I SUGGEST YOU TRY THE ONE WITH FORTRAN in the installer name!
codeblocks-16.01mingw_fortran-setup.exe
FROM http://codeblocks.org/downloads/binaries (http://codeblocks.org/downloads/binaries)
NOTE: The codeblocks-16.01-setup.exe file includes Code::Blocks with all plugins. The codeblocks-16.01-setup-nonadmin.exe file is provided for convenience to users that do not have administrator rights on their machine(s).
NOTE: The codeblocks-16.01mingw-setup.exe file includes additionally the GCC/G++ compiler and GDB debugger from TDM-GCC (version 4.9.2, 32 bit, SJLJ). The codeblocks-16.01mingw_fortran-setup.exe file includes additionally to that the GFortran compiler (TDM-GCC).
NOTE: The codeblocks-16.01(mingw)-nosetup.zip files are provided for convenience to users that are allergic against installers. However, it will not allow to select plugins / features to install (it includes everything) and not create any menu shortcuts. For the "installation" you are on your own.
Tim S.