Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 beta 3/9/83; site utecfa.UUCP Path: utzoo!utcsrgv!utai!uthub!utecfa!larry From: larry@utecfa.UUCP (Larry Philps) Newsgroups: net.unix-wizards,net.unix,net.lang.c Subject: Re: Doesn't *anybody* use lint? Message-ID: <158@utecfa.UUCP> Date: Mon, 17-Sep-84 12:09:20 EDT Article-I.D.: utecfa.158 Posted: Mon Sep 17 12:09:20 1984 Date-Received: Mon, 17-Sep-84 16:56:00 EDT References: <608@noscvax.UUCP> Distribution: net Organization: Engineering Computing Facility, University of Toronto Lines: 23 > 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