11 For documentation on LCLint, please see http://lclint.cs.virginia.edu.
16 To build LCLint you need:
18 o a (hopefully ANSI-conforming) C compiler. On most modern Unix systems,
19 cc will work fine. For older or less standard systems, gcc is
21 o gmake, the GNU make utility. If you don't have gmake installed on your
22 system, download it from prep.ai.mit.edu.
23 o standard Unix tools: gzip, tar
25 1. Download the LCLint source package (lclint.src.tar.gz).
27 Copy this package to the directory where you want to build LCLint. When
28 the tar file is extracted, it will create an lclint-2.5m subdirectory.
30 2. Uncompress the package:
31 gzip -d lclint.src.tar.gz
33 3. Extract files from the tar archive:
38 This will create a Makefile with settings for your system. If you
39 want to install LCLint or associated libraries different
40 directories, edit the Makefile.
44 It is best to do this in an emacs shell or a buffered terminal,
45 so you can scroll through the output.
47 6. Set environment variables
49 LARCH_PATH - path to search for lclint libraries and
50 initializations files. If you are using the standard directories, this
51 should be .:<base-directory>/lclint-2.5m/lib.
53 LCLIMPORTDIR - directory containing lcl imports files. If you are using
54 the standard directories, this is <base-directory>/lclint-2.5m/imports.
56 Put the commands to set these variables (the actual commands will depend
57 on the shell you are using) in one of your initialization dotfiles
58 (usually ~/.environment).
60 Set up your PATH to include the directory containing
61 lclint-2.5m/bin/lclint, or move the binary to a directory on
66 Examine the test output. If there are errors, send a bug
67 report to lclint-bug@cs.virginia.edu
69 To subscribe to announcements of new lclint releases, send a message to
70 majordomo@virginia.edu containing the body:
72 subscribe lclint-announce
74 To participate in discussions related to lclint, send a message to
75 majordomo@virginia.edu containing the body:
77 subscribe lclint-interest