Lint for Linux?

Jerry Feldman gaf at bcs.org
Tue Sep 26 06:52:42 EDT 1995


At 02:37 PM 9/25/95 -0400, Guy Bzibziak wrote:
>Is there any port of lint to Linux (it doesn't matter if it is GNU or old)?
>I have at least one program that is looking for it, and it is not part of 
>the slackware distribution.... The closest I've been able to come up with 
>is archie mentioning it for NET-BSD.
I don't understand what program would actually want to use lint. There is no
GNU lint that I am aware of. There are some PC versions of lint. And, or
course, the lint that I maintain at Digital. When we met with Mike Bushnell,
he mentioned that you could use some options of gcc to produce the same
effect. Most of lint is the front end to a compiler. If you can set the
compiler up to flag just about everything imperfect, you essentially get
lint. One thing lint does that compilers do not is check interfaces accross
modules as well as interfaces to library functions. Compilers only look at 1
compilation unit at a time. Lint has a second pass that combines the symbol
tables of all the modules you give to it.
+------------------------------------------------------+
| Jerry                                                |
|  Gerald Feldman	<gaf at star.net>                 |
|  Boston Computer Solutions and Consulting            |
|  Member, Boston Computer Society Board of Directors. |
+------------------------------------------------------+




More information about the Discuss mailing list