delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/21/19:26:26

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 <n8tm AT aol DOT com>
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: <SNT129-W2E72156B2337B784EB72687E40 AT phx DOT gbl>,<4BF6803B DOT 2060103 AT aol DOT com> <SNT129-W506D793A069A9C8255888187E40 AT phx DOT gbl>,<4BF6AF0F DOT 90308 AT aol DOT com> <SNT129-W79BE6AF2BB6FFFD328BBA87E40 AT phx DOT gbl>
In-Reply-To: <SNT129-W79BE6AF2BB6FFFD328BBA87E40@phx.gbl>
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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019