From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,75b51cb9f6a2ef65,start X-Google-Attributes: gid10d4db,public From: "Andrew M. Bishop" Subject: Cxref - C program cross-referencing & documentation tool Date: 1996/08/19 Message-ID: X-Deja-AN: 175063160 organization: ? followup-to: comp.os.linux.development.apps newsgroups: comp.os.linux.announce -----BEGIN PGP SIGNED MESSAGE----- [ Moderator's note: I know this is truncated at the end. I'll post an update if there was something important missing. Sorry. --liw ] C Cross Referencing & Documenting tool. Version 1.2a - cxref ============================================================ Produce LaTeX or HTML documentation including cross-references from C program source code. Works for ANSI C, including a few gcc extensions. The cxref homepage is accessible via so you can see more details and examples and download the latest version. The documentation for the program is produced from comments in the code that are appropriately formatted. The cross referencing comes from the code itself and requires no extra work. The documentation is produced for each of the following: Files - A comment that applies to the whole file. Functions - A comment for the function, including a description of each of the arguments and the return value. Variables - A comment for each of a group of variables and/or individual variables. #include - A comment for each included file. #define - A comment for each pre-processor symbol definition, and for macro arguments. Type definitions - A comment for each defined type and for each element of a structure or union type. Any or all of these comments can be present in suitable places in the source code. The cross referencing is performed for the following items Files - The files that the current file is included in (even when included via other files). #includes - Files included in the current file. - Files included by these files etc. Variables - The location of the definition of external variables. - The files that have visibility of global variables. - The files / functions that use the variable. Functions - The file that the function is prototyped in. - The functions that the function calls. - The functions that call the function. - The files and functions that reference the function. - The variables that are used in the function. Each of these items is cross referenced in the output. Includes extensive README and FAQ with details and examples on how to use the program. New for version 1.2a [Released as a bug fix to version 1.2] - -------------------- Bug fixes in the parser for obscure C syntax: Type names used as identifiers, pointer to function used as a function argument, some K&R style function definitions, complete set of integer type names, more GCC extensions. Availability - ------------ [Uploaded on ### ## Aug, so may take a couple of days] This program has been tested on the following systems: Linux 1.[123].x, SunOS 4.1.x, Solaris 2.x, HPUX 10.x The complete version 1.2 cxref-1.2.tgz, 218334 Bytes, a gzipped tar file of C source code. A patch to upgrade to version 1.2a cxref-1.2-1.2a.diff.gz, 6913 Bytes, a gzipped file of differences. (requires GNU patch to apply.) Available from ftp.demon.co.uk in the /pub/unix/unix/tools directory (to be re-organised to /pub/unix/tools in the future). Author & Copyright - ------------------ This program is copyright Andrew M. Bishop (amb@gedanken.demon.co.uk) and distributed under GPL. I would like also to thank the many people who have e-mailed me after versions 1.0, 1.1 & 1.2 were released, for finding bugs and reporting them. email: amb@gedanken.demon.co.uk [Please put cxref in the subject line] Begin3 Title: Cxref - C program cross-referencing & documentation tool Version: 1.2a [17-Aug-96] Entered-date: 17AUG96 Description: A program that takes as input a series of C source files and produces a LaTeX or HTML document containing a cross reference of the files/functions/variables in the program, including documentation taken from suitably formatted source code comments. The documentation is stored in the C source file in specially formatted comments, -----BEGIN PGP SIGNATURE----- Version: 2.6.2i iQCVAwUBMhg8YYQRll5MupLRAQG0YAQAvoO46TxTChbt+PLaoAb5CkMdhi9PkdpB ZV9bYLGnLT9uGxXuMGHifs6Yx9EN2CNqyYz02mPTVJ6Khm4y+kXfinGgc6LnOaZ1 W2boT34cmbDNpj4Kvz9MIPbG1KdwIVbIp5zBT/IariI9TuzOhkPrvlf0HPyzkFTK a4y6+4YCVNw= =GyWI -----END PGP SIGNATURE----- -- This article has been digitally signed by the moderator, using PGP. Finger wirzeniu@kruuna.helsinki.fi for PGP key needed for validating signature. Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov PLEASE remember a short description of the software and the LOCATION.