![]() (2) g77 compiler works for fortran 77 programs. (1) Does gfortran work for fortran 90 program only? Runslhg.o:runslhg.f.text 0x7b>: undefined reference to '_gfortran_st_read_done' Runslhg.o:runslhg.f.text 0圆d>: undefined reference to '_gfortran_transfer_character' $(CC) -c $(CFLAGS) $: undefined reference to '_gfortran_st_read' ![]() Step 1: I replace g77 with gfortran in 'makefile',ĬFLAGS = $(STD_FLAGS) $(STD_DEF) $(STD_INC) Now, I add two For90 programs and want to build following program together in cygwin:įortran 77 program: runslhg.f, intrface.fįortran 90 program: swan_init.f90, swan_loopstep.f90 I have the new version of cygwin installed in my computer, in which the g77, g , gcc, gfortran, C compiler are in C:\cygwin\bin.įirstly, I use cygwin build C programs and For77 programs. Subject: Re: How to compile Fortran 90 subroutine under CYGWIN.Cc: tprince at computer dot org, cygwin at cygwin dot com.Re: How to compile Fortran 90 subroutine under CYGWIN Tim Prince - Re: How to compile Fortran 90 subroutine under CYGWIN
0 Comments
Leave a Reply. |