In the Compiler Settings, programs, you can choose which program you're using for linking for your fortran compiler.
That was it! I made a copy of the GCC-Compiler and replaced the required programs with g77.exe. Sor far so (very!) good. There is only a minor drawback: It seems as if CodeBlocks can only handle C and C++ extensions, right? Or can I add somewhere additional extension for CodeBlocks to detect fortran files as sourcecode? Why I'm saying this:
One has to enable "Compile file" and "Link file" for each Fortran file seperately. Unfortunately after re-opening the project this setting has gone. I tracked back the reason to cbproject.cpp (in sdk) where it states:
FileType ft = FileTypeOf(filename);
localCompile = compile && (ft == ftSource || ft == ftResource);
localLink = link && (ft == ftSource || ft == ftResource || ft == ftObject || ft == ftResourceBin || ft == ftStaticLib);
Since the extension does not match ftSource of ftResource the flag is being reset silently.
However... I wouldn't wonder if this can be setup as well somewhere...?! Because this is the last thing missing for full Fortran support.
Morten.
Ps.: By the way: In fact even if I hate Fortran but it is still widely used in engineering environments. So supporting Fortran makes the IDE attractive even for such places.