X-Recipient: archive-cygwin@delorie.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 <n8tm@aol.com>
Reply-To: tprince@computer.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@cygwin.com
Subject: Re: How to compile Fortran 90 subroutine under CYGWIN
References: <SNT129-W2E72156B2337B784EB72687E40@phx.gbl>,<4BF6803B.2060103@aol.com> <SNT129-W506D793A069A9C8255888187E40@phx.gbl>,<4BF6AF0F.90308@aol.com> <SNT129-W79BE6AF2BB6FFFD328BBA87E40@phx.gbl>
In-Reply-To: <SNT129-W79BE6AF2BB6FFFD328BBA87E40@phx.gbl>
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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

