Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cxref(1) — UTek W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cc(1)

lint(1)



CXREF(1)                COMMAND REFERENCE                CXREF(1)



NAME
     cxref - generate C program cross reference

SYNOPSIS
     cxref [ -c ][ -Dname ][ -Dname=def ][ -Idir ][ -ofilename ][
     -s ][ -t ][ -Uname ][ -w<name> ] filename...

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.

OPTIONS
     -c  Print a combined cross-reference of all input files.

     -ofilename
         Direct output to filename.

     -s  Operate silently; does not print input filenames.

     -t  Format listing for 80-column width.

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

     -Dname=def
     -Dname
         Define the name to the preprocessor, as if by #define.
         If no definition is given, the name is defined as 1.

     -Idir
         #include files whose names do not begin with a slash (/)
         are always sought first in the directory of the filename
         argument, then in directories named in -I options, then
         in directories on a standard list.

     -Uname
         Remove any initial definition of name.

EXAMPLES
     This example of cxref outputs the file skip in a width of 70
     decimal columns:


          cxref -w<70> skip




Printed 10/17/86                                                1





CXREF(1)                COMMAND REFERENCE                CXREF(1)



FILES
     /usr/local/lib/xcpp      Special version of C-preprocessor

     /usr/local/lib/xpass     Special version of lint

DIAGNOSTICS
     Error messages are unusually cryptic, but usually mean that
     you cannot compile these files, anyway.

SEE ALSO
     cc(1), lint(1).












































Printed 10/17/86                                                2





































































%%index%%
na:72,78;
sy:150,400;
de:550,616;
op:1166,1213;
ex:2379,214;
fi:2737,218;
di:2955,189;
se:3144,129;
%%index%%000000000133

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