| By C directives do you mean #if and #define directives? If so, then by
convention the file type must be .F in order for the FUSE scanner to
pass the file to the cpp program before it attempts to scan the Fortran
code. Do your sources have the .F file type?
Also, which DEC Fortran compiler do you use? If you have F90
installed, FUSE will attempt to do all the cross-referencing using the
builtin FUSE support in the f90 compiler. Otherwise, FUSE uses its own
Fortran scanner to find the cross-reference data.
If you could supply some examples source files that are not being
properly scanned, and how you specified the configuration target to the
Call Graph Browser, we may be able to figure out what the problem is.
|
|
If you have f90 installed (i.e. /bin/f90 is present), then FUSE will
invoke it with the -fuse_xref option to scan all your Fortran (.f, .F,
.f90) sources. Since DEC Fortran 90 is supposed to be able to handle
both f77 and f90 sources, there should be no problem in using it to scan
your f77 source.
However, if you want to use the FUSE Fortran scanner (which really only
understands f77 *not* f90 source), you need to add the following
override in a target-specific .xrefrc file:
FORTRAN_COMMAND: $FUSE_BIN/fortran_scanner -b -fortran
You can create a target-specific .xrefrc file by pressing on the "Edit
.xrefrc" pushbutton in the Transcript window that contains the log of
the scanning messages you should see when you first bring up the
Call Graph Browser.
|