[Japanese page]

A source code checker for Fortran77

f77chk Ver.1.2.2e

Copyright (C) 1999-2003


Tsuguhiro TAMARIBUCHI <tamari@spdg1.sci.shizuoka.ac.jp>


F77chk is a source code checker for Fortran77.

F77chk is written in Perl and checks consistency of arguments at every call to externals in source files. Including definition files, in which definitions of externals in libraries are listed, entire consistency 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.

README.jp: 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

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


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

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.


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.

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


If you would like to make any contributions to this project please contact to the author.

Tsuguhiro TAMARIBUCHI <tamari@spdg1.sci.shizuoka.ac.jp>

Last Updated :  Thursday, 22-Feb-2018 14:46:04 JST