1 Splint - annotation-assisted static program checker
4 Copyright (C) 1994-2002
5 University of Virginia,
6 Massachusetts Institute of Technology
15 For documentation on Splint, please see http://www.splint.org
17 WARNING: this is an Alpha release - new features and changes are not
18 reflected in the documentation.
23 To build Splint you need:
25 o a (hopefully ANSI-conforming) C compiler. On most modern Unix systems,
26 cc will work fine. For older or less standard systems, gcc is
28 o gmake, the GNU make utility. If you don't have gmake installed on your
29 system, download it from prep.ai.mit.edu.
30 o standard Unix tools: gzip, tar
35 o bison version 1.28 or later - bison 1.27 and 1.25 are believed to
36 have bugs that cause problems with Splint's parsers.
38 If these are unavailable, you may be able to build Splint anyway using
39 the derived grammar files. This is not recommended however.
41 1. Download the Splint source package (splint-<version>.src.tgz).
43 Copy this package to the directory where you want to build Splint. When
44 the tar file is extracted, it will create an splint-<version> subdirectory.
46 2. Extract files from the tar archive:
47 tar xzf splint-<version>.src.tgz
51 This will create a Makefile with settings for your system. If you
52 want to install Splint or associated libraries different
53 directories, edit the Makefile.
57 It is best to do this in an emacs shell or a buffered terminal,
58 so you can scroll through the output.
60 6. Set environment variables
62 LARCH_PATH - path to search for splint libraries and
63 initializations files. If you are using the standard directories, this
64 should be .:<base-directory>/splint-3.0.0.9/lib.
66 LCLIMPORTDIR - directory containing lcl imports files. If you are using
67 the standard directories, this is <base-directory>/splint-3.0.0.9/imports.
69 Put the commands to set these variables (the actual commands will depend
70 on the shell you are using) in one of your initialization dotfiles
71 (usually ~/.environment).
73 Set up your PATH to include the directory containing
74 splint-<version>/bin/splint, or move the binary to a directory on
79 Examine the test output. If there are errors, send a bug
80 report to splint-bug@cs.virginia.edu
82 To subscribe to announcements of new Splint releases, send a message to
83 majordomo@virginia.edu containing the body:
85 subscribe lclint-announce
87 To participate in discussions related to Splint, send a message to
88 majordomo@virginia.edu containing the body:
90 subscribe lclint-interest