[comp.lang.fortran] FORCHEK Ver. 2.1 on PC?

gbastin@x102c.ess.harris.com (Gary Bastin 60293) (04/22/91)

I recently downloaded the source code for the Fortran Checker
FORCHEK from the netlib archive.  (Sort of like lint for FORTRAN.)

The code compiled fine under UNIX and appears to work fine.  However,
there is also a makefile.tc to allow porting it to MSDOS.  I tried
compiling FORCHEK using Turbo C Ver. 2.01, and the makefile wouldn't
work.  Further investigation, after modification of the makefile,
revealed that there is too much data for the huge memory model in
Turbo C to be able to handle. From reading over the source code,
it appears that several former separate .c files have been combined
into one large file, and that is apparently what is now causing
the problem by exceeding Turbo C data size limitations. (This is
occurring in spite of setting the compiler directives per the
documentation: small_machine and turboC.)

Has anyone successfully ported FORCHEK Ver. 2.1 to a pc?  If so,
I would appreciate any tips on what it takes.  Is some other version
of Turbo C required other than Ver. 2.01?  Alternatively, is there
a newer version of FORCHEK, newer than Ver. 2.1, in which the
problems have been resolved?  Or does someone already have a factored
version of the source code, that keeps the data within Turbo C
limitations, similar to earlier releases of FORCHEK?  Any help
would be greatly appreciated.

Thanks in advance!

Gary Bastin, WB4YAF      /-/-/      Internet: gbastin@x102c.ess.harris.com
Mail Stop 102-4858         |        phone: (407) 729-3045
Harris Corporation GASD    |        
P.O.B. 94000, Melbourne FL 32902    Speaking from, but not for, Harris!