Hello !
I'm new to Dev-C++ and would like to know what is the best way to
compile a project with mixed C code and FORTRAN code (FORTRAN functions
are called by the C code).
I've found a way which works :
1) Compile the FORTRAN code with g77 (included in the distribution) and
move the objects in the folder of the project.
2) Append "*.o -lg2c" to the linking command
But I wonder if there is a better method ?
Something that would compile directly the FORTRAN code for instance...
Thanks in advance.
|