I'm stuck getting gfortran to work with codeblocks.
I followed the fortran setup <http://wiki.codeblocks.org/index.php?title=Installing_Fortran_Compiler>
The project compiles the fortran files just fine, but linking fails with undefined reference to `WinMain'
When I make a new project, and select console application, I see c and c++ as options, but should I see fortran?
When I create the project, a main.c is automatically added to the project, WHY?
It looks like my console application is expecting a c project, not a fortran.
What am I missing?