Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cxref(1) — Ultrix WS 1.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cc(1)

cxref(1)

NAME

cxref − generate C program cross reference

SYNTAX

cxref [options] files

DESCRIPTION

The cxref command analyzes a collection of C files and attempts to build a cross reference table. The cxref command 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. 

OPTIONS

−cPrints a combined cross-reference of all input files. 

−Dname
Defines name to processor, as if by #define.  Default value is 1. 

−Idir
Searches named directory for #include files whose names do not begin with “/”.

−lxAbbreviation for library name /lib/libx.a, where x is a string.  The libraries /usr/lib/libx.a and /usr/local/lib/libx.a are searched in sequence. 

−ofile
Directs output to named file. 

−sOperates silently; does not print input file names. 

−tFormats listing for 80-column width. 

−Uname
Removes any initial definition of name. 

−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.

DIAGNOSTICS

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

FILES

/usr/lib/xcpp special version of C-preprocessor. 

SEE ALSO

cc(1). 

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