|
|
Re: Adding LINT or other static analysis tools to the build
process...
|
|
08/06/2009 10:52 AM
post35390
|
Re: Adding LINT or other static analysis tools to the build
process...
On Thu, 2009-08-06 at 03:05 -0400, Ashwin Patwekar wrote:
> using make -n and the qlint.mk we understand gcc2lnt creates 2 files
> 1. file which is a list of include directories for that module/file. These files might be having appropriate -i
prefixed to the list of directory name
> 2. A file with #defines for the env and module based on the command line passed -D options..
> these files are then checked for any changes and appropriate lint or lint delta command seems to be used.
>
You're absolutely correct about these. I've attached our gcc2lnt (and
the publicly available mkinstalldirs and move-if-change) for your
convenience. (Note too that a fair bit of the setup for the toolchain
is contained in *.lnt and *.h files which I don't have permission to
post yet.) The usual disclaimers apply: these tools are not
"officially" supported and there is no warranty. That being said, I'll
help out where I can. I'm still working on getting clearance for other
portions.
Regards,
Neil
|
|
|
|
|