Additional Open-Source Tools 279
Posts for this list should be sent to: sourcenavsourceware.cygnus.com
The other mailing list is found online at http:sources.redhat.commlsourcenav-announce
This is an announcement list for posts about new releases or other important information. Posts for the announcement list should be sent to:
sourcenav-announcesourceware.cygnus.com
11.5.2 Splint
No, lint is not referring to the stuff you find in the deepest recesses of your pockets. A lint pro- gram is used to statically verify a program, or part of a program, against standard libraries,
checks the code for portability, and checks the code for common errors such as ignored return values, unused declarations, and type inconsistencies.
Although a compiler provides some checking, lint checks these areas of a program much more carefully and provides output messages where possible problems may occur. Lint can be
used to develop more robust software. Splint is an open source development project; therefore, it can be used free of charge.
Splint stands for Secure Programming Lint or Specifications Lint. Additional information about Splint can be found online. The home site for Splint is located at:
www.splint.org Included on the CD-ROM under the
splint directory is a zip file, splint- 3016win32.zip, which contains the Splint executable version 3.0.1.6, as well as documenta-
tion on how to set up and use the program. A Linux version of Splint is also included on the CD- ROM under the
splint\linux directory in the file splint-3.0.1.6.Linux.tgz. Also included on the CD-ROM under the
splint directory is the source code for this Splint version. This is located in the file
splint-3.0.1.6.src.tgz. Instructions for build- ing Splint can be found online at:
www.splint.orgsource.html To install Splint, unzip the file
splint-3016win32.zip, retaining the directory struc- ture, onto your
D:\ drive. This will place all Splint files under the directory D:\splint. The executable is located in the
bin subdirectory. Two environment variables need to be set as follows: • LARCH_PATH=D:\splint\lib
• LCLIMPORTDIR=D:\splint\imports Finally, set up the command path to include the directory containing the
splint.exe executable. Additional installation information can be found in the file
README file or on the Splint home site.
280 Chapter 11 • The eCos Toolset
11.6 Summary
In this chapter, we focused on the different eCos development tools. We started with an overview of the CDL used in the eCos framework. Moving onto the Configuration Tool, we discovered the
relationship between the CDL files and the graphical representation of packages in the Configu- ration Tool. We also examined the eCos database file and how it is used by the Configuration
Tool to represent the information in the repository.
A typical eCos configuration involves selecting one target and one template. Packages can then be added andor removed based on the requirements of the system. Then, fine-grained con-
figuration is performed on the configuration options. Then we moved on to the other tools available in the eCos development kit, as well as
other open-source tools that allow us to configure a complete embedded development environ- ment free of charge since the tools are all open source. Now that we have an understanding of
the eCos Configuration Tool, we are able to move to the next step, which is using the eCos tools to develop our own application.