With “Eclipse and PC-lint: Linticator” I have a plugin to lint my sources in a comfortable way. But I can do this as well without a plugin. For this I use a batch file with a build configuration, plus settings to get the PC-lint messages into the Problems view. Yes, this does not sound easy, but is very doable and straight forward once I have set it up. It gives me complete control on every little detail. Here is how I do it… Continue reading
Category Archives: Building
Eclipse and PC-lint: Linticator
PC-lint from Gimpel has set the standard for static code analysis: it is used by many companies developing safety critical applications. Additionally PC-lint can check the MISRA rules which are standard for many coding guide lines. PC-lint has detected many subtle bugs in my sources. Thank you, PC-lint!
CodeWarrior classic provided a plugin for the PC-lint compiler: To bad that this does not exist in the eclipse based CodeWarrior. You might think that given PC-lint so popular, there should be an eclipse plugin available? Yes, there are many attempts on this: all of them did not work well enough for me. The good news: There is the Linticator eclipse plugin. The bad news: it is not for free.
Go Reference! Or: Subprojects in eclipse and MCU10.2
I admit: I’m a big fan of eclipse.
But there is one thing I have missed from the ‘classic’ non-eclipse CodeWarrior for MCU: the ability to create hierarchical builds with subprojects.
It was sooooo simple and easy in classic CodeWarrior:
- I need to build a batch of projects in one step?
I have it organized as subprojects, and go! - I need a boot loader library included with my project, build it as part of my application build, plus I want to re-build my custom ANSI library for the small memory model?
I have it included as subprojects, set it up to be linked with my application project, done!