This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: How to compile Fortran 90 subroutine under CYGWIN
On 5/21/2010 1:55 PM, bo yu wrote:
(5) Tim mentioned that 'You should persuade the Makefile to use the Fortran compiler rather than gcc for compiling and linking Fortran source code. g77 and gfortran can handle .c files automatically'. From the original makefile, which works well as shown in Case 1, gcc will compile C program and g77 will compile fortran program.
Both of us reminded you to make a .f90.o rule which can be a copy of the
.f.o rule with only that single change. You should make both rules use
gfortran as the compiler.
--
Tim Prince
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple