User forums > Using Code::Blocks

Trying to compile old Fortran

<< < (2/2)

cacb:

--- Quote from: djcmalvern on October 09, 2014, 12:25:05 pm ---Thanks stahta01 this looks exactly like what I need. I will work through it and hopefully solve my issue.

 

--- End quote ---

I am not a mingw user, but to me it looks like you are trying to compile and link fortran code using g++, i.e. the C++ compiler/linker. I think you need to set up the C::B toolchain so that fortran files are compiled and linked with gfortran, not g++. This is important for proper runtime libraries and possibly other issues.

Navigation

[0] Message Index

[*] Previous page

Go to full version