##########################################################################
#                           f77chk  Ver.1.2.2f                           #
#                                                                        #
#           Copyright (C) 1999-2003 by Tsuguhiro TAMARIBUCHI             #
#                   tamari@spdg1.sci.shizuoka.ac.jp                      #
#                                                                        #
#               ftp://spdg1.sci.shizuoka.ac.jp/pub/f77chk                #
##########################################################################

F77chk is a source code checker for Fortran77.

F77chk is written in Perl and checks consistencies of arguments at every 
calls to externals in source files.   Including definition files, in which 
definitions of externals in libraries are listed, entire consistencies of 
arguments can be checked to reduce run time errors.   A definition file 
for a library can be generated by f77chk automatically if the source code 
is available, or by hand referring user's manuals, for example. 

As f77chk is a Perl script, f77chk is expected to work on every machine 
from a personal computer to a supercomputer on which Perl is installed. 

F77chk analyzes syntax of IF, DO and CALL statements and declarations in 
Fortran 77, but it is probably insufficient for practical uses.  So syntax 
check should be done by a compiler, and it is strongly recommended that 
f77chk would be used once no compiler error is obtained.


DISTRIBUTION
~~~~~~~~~~~~
   README                this file
   f77chk.pl             Perl script
   library.def           a definition file for the Fortran 77 intrinsics
                         and routines in the GrWin Library of the current 
                         version


INSTALLATION
~~~~~~~~~~~~
To use f77chk on Windows Xp/2000/NT/Me/9x it is necessary to have working perl 
on your system.   Perl for Win32 is available at

    http://www.ActiveState.com/pw32/

To install f77chk, move f77chk.pl and library.def into a directory on a 
search path, say C:\bin. 


HOWTO USE
~~~~~~~~~
Simply do

  C:\f77> perl C:\bin\f77chk.pl [options] file1 ...

where f77chk.pl and definition files are assumed to be installed in C:\bin.

To avoid extra messages like 'Undefined reference to ...', all source files 
which are necessary to create an executable should be listed in the comand 
line. A brief description for options appears when an undefined option -h, 
for example, or an invalid file name is specified.


COPYING
~~~~~~~
This program is free software; you can redistribute it and/or modify it 
under the terms of the GNU General Public License as published by the Free 
Software Foundation; either version 2 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT 
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for 
more details.


FTP SITE
~~~~~~~~
The latest version of f77chk and definition files for some libraries are 
available at 

    ftp://spdg1.sci.shizuoka.ac.jp/pub/f77chk


CONTRIBUTIONS
~~~~~~~~~~~~~
If you would like to make any contributions to this project please contact 
to the author:

Tsuguhiro Tamaribuchi
<tamari@spdg1.shizuoka.ac.jp>
Faculty of Science
Shizuoka University
