]> andersk Git - splint.git/blame - os2/README.OS2
Some work on the files in os2/, removed unnecessary
[splint.git] / os2 / README.OS2
CommitLineData
e5a87a6c 1lclint 3.0.0.16 for OS/2\r
2========================\r
3\r
4This file is originally part of the binary distribution of lclint for OS/2.\r
5\r
6Contents:\r
7---------\r
8\r
9 Differences to the Unix versions\r
10 Installation\r
11 Bugs and known problems\r
12 Where to get\r
13 History\r
14 Afterword\r
15\r
16\r
17Differences to the Unix versions:\r
18---------------------------------\r
19\r
201. lclint searches for the initialization file in the current directory \r
21 and additionally in the directory pointed to by the environment \r
22 variable "HOME" if set. \r
23\r
242. For path specifications "\" can be used instead of "/". In most\r
25 cases any of both, even in combination are fine.\r
26\r
273. lclint/2 will use the value of the environment variable TMP (if not set\r
28 TEMP) for creating and reading temporary files if possible. Else the\r
29 current directory is used.\r
30\r
31\r
32Installation:\r
33-------------\r
34\r
35For installing lclint there are four steps necessary:\r
36\r
371. Place the executable file lclint.exe in some directory in your PATH.\r
382. Install all that's in the "imports" and "lib" subdirectories somewhere\r
39 you like it. You will need a HPFS drive to install these files.\r
403. Set the environment variable LARCH_PATH to the `lib' subdir in the \r
41 main LCLint directory, like:\r
42 set LARCH_PATH=d:\software\lclint-3.0.0.16\lib\r
43 Then set LCLIMPORTDIR to the `imports' subdir in the main LCLint\r
44 directory, like:\r
45 set LCLIMPORTDIR=d:\software\lclint-3.0.0.16\imports\r
46 You may want to add these statements to your your config.sys file \r
47 as soon as you've got the software working. \r
484. If you want to use some standard settings different from what's built\r
49 in edit and place the configuration file `.lclintrc' somewhere lclint \r
50 can find it. This is the directory pointed to by the HOME environment\r
51 variable if set or else the directory containing the executable file.\r
52 It seems a good idea to put all global stuff into that file and all\r
53 project dependent information into another `.lclintrc' in the directory\r
54 containing the sources to be checked by lclint. lclint will first\r
55 read the global and then the local `.lclintrc'.\r
56\r
57For building lclint you will need the complete sources package. Untar that\r
58file. You need HPFS to compile the package because there are plenty of \r
59files with long filenames. Refer to the file BUILD.OS2 for further \r
60instructions. \r
61\r
62\r
63Bugs and known problems:\r
64------------------------\r
65\r
66There are a few things that still do not work properly. As lclint was\r
67originally developed on and for Unix systems e.g. path names differ.\r
68Currently all paths specified in the command line have to contain\r
69backslashes rather than slashes which will be quite normal for people\r
70with no Unix background anyway. Also not all tests work well yet, at\r
71the moment only the "quicktest" with a few changes is available.\r
72\r
73\r
74Where to get:\r
75-------------\r
76\r
77In any case future versions of lclint for OS/2 will be available from the\r
78lclint homepage at:\r
79 - http://lclint.cs.virginia.edu/\r
80\r
81I will try to upload the file to at least the following sites (the file \r
82should be located somewhere in the OS2/DEVELOP areas):\r
83 - ftp.cdrom.com\r
84 - ftp.hobbes.nmsu.edu\r
85 - ftp.leo.org\r
86I always put any fixes (even unofficial ones) to my private ftp directory\r
87at:\r
88 - ftp.fh-wedel.de/pub/fh-wedel/staff/herbert/lclint\r
89\r
90\r
91History:\r
92--------\r
93\r
94The following things specific to the OS/2 version of lclint have changed / \r
95fixed since the first official release:\r
96\r
97version 3.0.0.16:\r
3934e170 98- Finally fully united the OS/2 port with the main source tree.\r
e5a87a6c 99- Bugfixes.\r
100\r
101version 3.0.0.14:\r
102- first OS/2 version of the current alpha.\r
103- changed the name of the initialization file to `.lclintrc'.\r
104\r
105version 2.5m:\r
106- only some fixes mostly derived from the Win32 port.\r
107\r
108version 2.4b:\r
109- First official OS/2 release.\r
110- Switched from IBM's CSet++ 2.01 to VisualAge C++ 3.0.\r
111\r
112version 2.3i:\r
113- Due to my mistake the "HOME" environment variable was ignored even if it \r
114 was set.\r
115\r
116version 2.3h:\r
117- IBM's CSet++ is now used as default compiler instead of emx/gcc.\r
118- lclint compiled as a.out binary using emx/gcc now runs fine under DOS.\r
119- In the previous release some temporary files did not get removed properly.\r
120- Sometimes lclint delivered the names of temporary files rather than the\r
121 original source files when reporting errors.\r
122- Sometimes include files were not found.\r
123\r
124\r
125Due to the differences between Unix and OS/2 (file-I/O, standard directory\r
126structures etc.) there are still some more to expect!\r
127\r
128\r
129Afterword:\r
130----------\r
131\r
132I have not yet fully ported Makfiles / scripts for a full-featured test\r
133suite. The simple Makefile.os2 in the test/ directory allows checking\r
134the C sources belonging to the suite and looking at the output (or \r
135directing it to a file using "make -f Makefile.os2 >test.log 2>&1" or\r
136something similar. \r
137\r
138After having used lclint/2 on a few projects now I may say it has got \r
139more reliable. Still I do not know enough about it yet to be able to do \r
140more sophisticated testing than just using it for my sources or running\r
141the (simplified) test suite. If you run across any OS/2-specific problems \r
142write me an email -- I will *try* to fix it. But, please, do not forget \r
143that I am *not* the author of lclint!\r
144\r
145You can reach me via Email or fido-netmail:\r
146\r
147Email: herbert@paulina.shnet.org (at home)\r
148 herbert@fh-wedel.de (at work)\r
149Fido: 2:240/5216.18\r
150\r
151Have fun!\r
152\r
153Martin "Herbert" Dietze\r
This page took 0.089819 seconds and 5 git commands to generate.