How to compile Fortran 90 subroutine under CYGWIN

Tim Prince n8tm@aol.com
Sat May 22 01:23:00 GMT 2010


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



More information about the Cygwin mailing list