delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/08/10:57:12

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <80575AFA5F0DD31197CE00805F650D767B2119@wilber.adroit.com>
From: "Robinow, David" <drobinow AT dayton DOT adroit DOT com>
To: "'Dr. James H. McNeill'" <jmcneill AT chem DOT siu DOT edu>, cygwin AT cygwin DOT com
Subject: RE: I need help on how to use the Cygwin fortran compiler. Thank
s, Dr. McNeill
Date: Tue, 8 Jan 2002 10:56:41 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

 Do you have a Cygwin icon on your desktop?
    If not, go to http://sources.redhat.com/cygwin and "Install Cygwin now"
       You should install, at least, Base, Devel, and Shells packages.

 Click on the Cygwin icon.  This should bring up a bash shell.
 
 Are you familiar with unix?  If not, you should find a tutorial somewhere.
    Although Cygwin is a great way for Windows users
    to access free software, it's really aimed at
    somewhat experienced unix/linux users who need to
    run on Windows.

 In your bash shell
    g77 -c fmain.f          will compile the fortran file fmain.f,
                            putting the object file in fmain.o
    g77 fmain.f -o fmain     will compile fmain.f and putting an
                             executable in fmain.exe
    g77 -c fsubr1.f
    g77 -c fsubr2.f
    g77 -c fsubr3.f
    g77 -c fcaller.f
    g77 fcaller.o fsubr1.o fsubr2.o fsubr3.o -o fprogram
                           will compile and link multiple source files.
    g77 -help gives more information.

-----Original Message-----
From: Dr. James H. McNeill [mailto:jmcneill AT chem DOT siu DOT edu]
Sent: Tuesday, January 08, 2002 10:41 AM
To: cygwin AT cygwin DOT com
Subject: I need help on how to use the Cygwin fortran compiler. Thanks,
Dr. McNeill


Dear Cygwin:

Recently I purchased a HP Pavilion 750n PC, which has Windows XP, to 
perform numerical calculations at home relative to my theoretical research 
in physical chemistry.  I thought about purchasing a FORTRAN compiler but a 
friend of mine suggested that instead I download Cygwin and use the 
available FORTRAN compiler in this package of free-ware.  Well I did that 
last night, and from reading his E-mail instructions I was to download the 
g77 FORTRAN compiler.  However, it did not work on my new PC at home.  Yet, 
I only could access the g77 FORTRAN compiler in DOS via Command statement 
on RUN.  If there is instead a FORTRAN compiler already with the Cygwin and 
I was not suppose to use g77 please let me know ,and please inform me on 
how to access this Cygwin FORTRAN compiler if it exists.  I tried searching 
for any FORTRAN compiler that came with Cygwin but I could not find any 
statement on how to utilize it on the web site.  Your assistance will be 
greatly appreciated.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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