2.8 Compiling a Program Containing C Preprocessor Directives Using kapf

If a Fortran program contains C preprocessor directives, preprocess it with cpp before you process it with kapf . For example, if your program has C include statements, process it as follows:

cpp -P myprog.f > clinic.i
kapf myprog.i -cmp=myprog.f
f77 myprog.f


Previous Page | Next Page | Contents | Index |
Command Line Switches