Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cxref(1) — DG/UX 4.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought



                                                                 cxref(1)



        _________________________________________________________________
        cxref                                                     Command
        generate C program cross-reference
        _________________________________________________________________


        SYNTAX

        cxref [ options ] files


        DESCRIPTION

        Cxref analyzes a collection of C files and tries to build a
        cross-reference table.  Cxref uses 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, in addition to the -D, -I and -U options (which are
        identical to their interpretation by cc(1)), are:

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

        -w<num>   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; do 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 cryptic, but usually mean that you cannot
        compile these files anyway.



        DG/UX 4.00                                                 Page 1
               Licensed material--property of copyright holder(s)





                                                                 cxref(1)



        BUGS

        Cxref considers a formal argument in a #define macro definition
        to be a declaration of that symbol. For example, a program that
        #includes ctype.h will contain many declarations of the variable
        c.
















































        DG/UX 4.00                                                 Page 2
               Licensed material--property of copyright holder(s)



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