X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <4BF71696.70406@aol.com> Date: Fri, 21 May 2010 16:26:14 -0700 From: Tim Prince Reply-To: tprince AT computer DOT org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: How to compile Fortran 90 subroutine under CYGWIN References: ,<4BF6803B DOT 2060103 AT aol DOT com> ,<4BF6AF0F DOT 90308 AT aol DOT com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit x-aol-global-disposition: G X-AOL-SCOLL-SCORE: 0:2:374082912:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d33854bf71696758c X-AOL-IP: 192.55.60.73 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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