Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cxref(1) — GL2 W2.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cc(1)

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. 

−wnum Width option which formats output no wider than num (decimal) columns.  This option will default to 80 if num is not specified or is

−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

cc(1). 

DIAGNOSTICS

Error messages are unusually cryptic, but usually mean that you can’t compile these files, anyway. 

Version 2.4  —  May 08, 1986

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026