From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,98a74112050e9dab,start X-Google-Attributes: gid10d4db,public From: "Andrew M. Bishop" Subject: cxref 1.3 - C program cross-referencing & documentation tool Date: 1996/12/09 Message-ID: #1/1 X-Deja-AN: 203120426 x-original-date: Sun, 8 Dec 1996 11:20:06 GMT organization: ? followup-to: comp.os.linux.development.apps newsgroups: comp.os.linux.announce -----BEGIN PGP SIGNED MESSAGE----- C Cross Referencing & Documenting tool. Version 1.3 - cxref =========================================================== Produce LaTeX or HTML documentation including cross-references from C program source code. Works for ANSI C, including most 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.3 - ------------------- Added manual pages for the programs. Use the Linux Kernel source code to test the parser. Added more GNU C extensions. Fixed more errors in type names used as identifiers. Added the ability to parse C++ comments (not for documenting). Fixed some remaining problems with implicit integer types and type qualifiers. HTML output conforms to HTML 2.0 standard, and passes weblint test. HTML, LaTeX and raw outputs have ';'s added in structure defintions. Updated FAQ, added FAQ -> html conversion script, updated README, README.html and README.tex, added TODO. The cxref-cpp program now does not need machine specific hand customisation. Improved the Makefiles to simplify the installation: Fully automatic configuring of cxref-cpp, all build options in a single Makefile configuration file, installation included. Availability - ------------ This program has been tested on the following systems: Linux 1.[123].x, Linux 2.[01].x, SunOS 4.1.x, Solaris 2.x, HPUX 10.x Version 1.3 cxref-1.3.tgz, 230879 Bytes, a gzipped tar file of C source code. Available from ftp.demon.co.uk in the /pub/unix/unix/tools directory (to be re-organised to /pub/unix/tools in the future). Or from sunsite.unc.edu in the /pub/Linux/devel/lang/c directory (in /pub/Linux/Incoming at the moment). 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(a,b) were released, for finding bugs and reporting them. - -- Andrew M. Bishop amb@gedanken.demon.co.uk http://www.gedanken.demon.co.uk/ -----BEGIN PGP SIGNATURE----- Version: 2.6.3 Charset: noconv iQCVAwUBMqvt26kybebRDjw1AQHoRgP+NGP47ToL17XQCMunzddul0X29wlPLz3C qXKRxAXYtRPhgh3MDM8CZnc+1RL+i+DwN0F50sucXBIgYUAk681FCkhUL3vGE2pk 4N2TZWrEFunO0ckseKvbSOsNHqPDY8ca+ExabtZ9zB8HPgL+nzt52g/VvyY6vvS2 15/LPFiojgg= =JRKT -----END PGP SIGNATURE----- -- This article has been digitally signed by the moderator, using PGP. http://www.pathname.com/~quinlan/pgp.html has PGP key 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. This group is archived at http://www.iki.fi/liw/linux/cola.html.