[net.unix] Doesn't *anybody* use lint?

sloane@noscvax.UUCP (Gary K. Sloane) (09/07/84)

How do you create the human-readable versions of the lint libraries that
are created via the -C option in lint? The system lint libraries (like
llib-lc.ln) have theirs, how do I create my own?

It can't be done manually, since the line numbers returned by lint
reference lines in the human readable versions...

please Please PLEASE help me answer this bit of esoterica...

on a 4.2bsd 11/750... with much groveling, pleading, and begging...


    * **************************************************************** *
    * Gary K. Sloane/Computer Sciences Corporation/San Diego, CA 92110 *
    * DDD: (619) 225-8401                                              *
    * MILNET: sloane@nosc                                              *
    * UUCP: [ihnp4,akgua,decvax,dcdwest,ucbvax]!sdcsvax!noscvax!sloane *
    * **************************************************************** *

gwyn@brl-tgr.UUCP (09/09/84)

?  The readable lint libraries /usr/lib/llib-lc etc. are what the
binary lint libraries are made from, not the other way around.

larry@utecfa.UUCP (Larry Philps) (09/17/84)

> How do you create the human-readable versions of the lint libraries that
> are created via the -C option in lint? The system lint libraries (like
> llib-lc.ln) have theirs, how do I create my own?

You don't create human-readable one from binary, but rather create
the binaries from human readable definitions.  The correct method for
making the libraries is:

	1)  Set up a llib-lx (x is the library name) file
	    with the same format as is found in /usr/lib/lib/llib-lc.
	    This is includes the lint comments such as /*LINTLIBRARY*/

	2)  Run the command:
	    /lib/cpp -C -Dlint llib-lx | /usr/lib/lint/lint1 -v > llib-lx.ln

The desired binary file will then be in place when you run
	    lint file.c -lx
-- 
					Larry Philps
					Engineering Computing Facility
					University of Toronto
			{decvax, ihnp4, watmath, decwrl}!utcsrgv!utecfa!larry