1 COMPILING AND INSTALLING:
2 =========================
4 To compile ccfilter, you can just do a plain:
5 cc ccfilter.c -o ccfilter
6 Though, it may be wise to have your default compiler defined,
7 so you would normally compile it with one of the following:
8 cc -D_GCC ccfilter.c -o ccfilter
9 cc -D_AIX ccfilter.c -o ccfilter
10 cc -D_ATT ccfilter.c -o ccfilter
11 cc -D_IRIX ccfilter.c -o ccfilter
12 cc -D_SOLARIS ccfilter.c -o ccfilter
13 cc -D_HPUX ccfilter.c -o ccfilter
14 You can then copy ccfilter to it's target destination (i.e: /usr/local/bin).
15 The man page ccfilter.1 has to be copied to somewhere in your MANPATH,
16 under a man1 directory (i.e: /usr/local/man/man1).
19 SUPPORTED COMPILERS/PORTING NOTES:
20 ==================================
22 The supported formats for the different compilers are described below:
23 In this section, meta-names are used as place-holders in the line
24 formats: <FILE> <ROW> <COL> <SEVERITY> <REASON> <>
25 The <> denotes ignored text.
26 Line formats are delimited by the ^ (caret) symbol.
28 0) Special case: "gmake directory change" lines:
29 Lines with a format like:
30 ^gmake[<NUM>]: Entering directory `<DIR>'^
31 are used to follow the directory changes during the make process,
32 providing in the <FILE> part, a relative (if possible) directory
33 path to the erroneous file.
37 Recognized lines are of the format:
38 - ^In file included from <FILE>:<ROW>:^
39 Line following this one is used as <REASON>
40 <SEVERITY> is always 'e' (error)
43 - ^<FILE>:<ROW>:<REASON>^
44 <SEVERITY> is always 'e' (error)
49 Recognized lines are of the format:
50 - ^"<FILE>", line <ROW>.<COL>: <> (<SEVERITY>) <REASON>",
54 Recognized lines are of the format:
55 - ^cc: "<FILE>", line <ROW>: <SEVERITY>: <REASON>^
60 Recognized lines are of the format:
61 - ^"<FILE>", line <ROW>: warning: <REASON>^
62 This assumes <SEVERITY> is "W"
65 - ^"<FILE>", line <ROW>: <REASON>^
66 This assumes <SEVERITY> is "E"
71 Recognized lines are of the format:
72 - ^<SEVERITY> "<FILE>",L<ROW>/C<COL><>:<REASON>^
74 - ^<SEVERITY> "<FILE>",L<ROW>/C<COL>:<REASON>^
75 Following lines beginning with a pipe (|) are continuation
76 lines, and are therefore appended to the <REASON>
78 - ^<SEVERITY> "<FILE>",L<ROW>:<REASON>^
80 Following lines beginning with a pipe (|) are continuation
81 lines, and are therefore appended to the <REASON>
85 Recognized lines are of the format:
86 - ^cfe: <SEVERITY>: <FILE>: <ROW>: <REASON>^
88 ^cfe: <SEVERITY>: <FILE>, line <ROW>: <REASON>^
89 Following lines beginning with a dash (-) are "column-bar"
90 that end with a caret in the column of the error. These lines
91 are analyzed to generate the <COL>.