Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cxref(1) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cc

cpp



CXREF(1,C)                  AIX Commands Reference                   CXREF(1,C)



-------------------------------------------------------------------------------
cxref



PURPOSE

Creates a C program cross-reference listing.

SYNTAX


         +-------------+   +----- -w80 -----+
cxref ---| +---------+ |---|      +- 80 --+ |-- file --|
         +-| -c      |-+   +- -w -|1      |-+ ^      |
          ^| -o file ||           +- num -+   +------+
          || -s      ||
          || -t      ||
          |+---------+|
          +-----------+


-----------------
1 Do not put a space between these items.


Note:  This command does not have MBCS support.

DESCRIPTION

The cxref command analyzes C program files and creates a cross-reference table,
using a version of the cpp command to include #define directives in its symbol
table.  It writes to standard output a listing of all symbols in each file
processed, either separately or in combination (see the -c flag on page
        1).  When a reference to a symbol is that symbol's declaration, an *
(asterisk) precedes it.  You can also use the -D, -I, and -U flags from the cpp
command.

FLAGS

-c                    Displays a combined listing of the cross-references in
                      all input files.

-o file               Directs the output to the specified file.

-s                    Does not display the input file names.

-t                    Makes the listing 80 columns wide.







Processed November 8, 1990        CXREF(1,C)                                  1





CXREF(1,C)                  AIX Commands Reference                   CXREF(1,C)



-w[num]               Makes the listing num columns wide, where num is a
                      decimal integer greater than or equal to 51.  If you do
                      not specify num or if num is less than 51, the listing
                      will be 80 columns wide.

RELATED INFORMATION

See the following commands:  "cc" and "cpp."

See discussion of cxref in AIX Operating System Programming Tools and
Interfaces.












































Processed November 8, 1990        CXREF(1,C)                                  2



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