CXREF(1) — Silicon Graphics
NAME
cxref − generate C program cross reference
SYNOPSIS
cxref [ options ] files
DESCRIPTION
Cxref analyzes a collection of C files and attempts to build a cross reference table. Cxref utilizes a special version of cpp to include #define’d information in its symbol table. It produces a listing on standard output of all symbols (auto, static, and global) in each file separately, or with the −c option, in combination. Each symbol contains an asterisk (∗) before the declaring reference.
In addition to the −D, −I and −U options (which are identical to their interpretation by cc(1)), the following options are interpreted by cxref:
−c Print a combined cross-reference of all input files.
−w<num>
Width option which formats output no wider than <num> (decimal) columns. This option will default to 80 if <num> is not specified or is less than 51.
−o file Direct output to named file.
−s Operate silently; does not print input file names.
−t Format listing for 80-column width.
FILES
/usr/lib/xcpp special version of C-preprocessor.
SEE ALSO
DIAGNOSTICS
Error messages are unusually cryptic, but usually mean that you can’t compile these files, anyway.
Version 2.1 — January 02, 1985