Keil Logo

PCLINT: PROBLEMS WITH PC-LINT VERSION 7.5


Information in this article applies to:

  • µVision version 1.31

QUESTION

We are having trouble getting PC-Lint V7.50 to work with C51 and µVision V1.31 under Windows 95. We had V7.00 working with µVision under Windows 3.11. We ported this software to Windows 95 and the PC-Lint error links to the source files became flaky.

When we installed PC-Lint V7.50 it gave us the option of host operating system. If we select Windows 95 then the µVision PC-Lint translator will not run. It looks like this is a result of the fact that Lint.exe is replaced with Lint-nt.exe. If we rename Lint-nt.exe to Lint.exe then the µVision lint translator says "linting" and then "compile successful" (?) even though the code has errors. If we select DOS environment then we end up with the same flaky error links.

ANSWER

The following steps may help when installing PC-Lint Version 7.5.

  1. Install PC-Lint (run INSTALL.EXE) using the following parameters:
    • Directory = C:\PCLINT
    • Source = A:\
    • Multiple Compilers = No
    • Compiler = Generic
    • Model = Small
    • Libraries = None
    • C++ = None
    • Include = Skip this step
    • Questionaire = No - Create a dummy
    • Environment = None
    • LIN.BAT = Skip this step
  2. Run LCOPY.BAT (in C:\PCLINT) to install the software.
  3. Rename LINT_NT.EXE to LINT.EXE.

The Keil software comes with .LNT files for the C166, C51, and C251. They are located in the \BIN directory of your compiler installation. The names of these files are KEILC51.LNT, KEILC251.LNT, and KEILC166.LNT. If you do not have or can't find them, point your web browser to the following URL and download them.

http://www.keil.com/pclint/

You may need to modify your .LNT files to specify the include directory. Add the following line anywhere in the .LNT file to do that.

-iC:\C166\INC // Specify the INC directory for C166

In µVision, you may need to change the options for PC-Lint and add the path to PC-Lint and the .LNT file in the BIN directory of the compiler installation.

After making the above changes, everything should work.

If you still have trouble, you may need to download the latest version of µVision from the web. The URL is:

http://www.keil.com/update/

SEE ALSO

Last Reviewed: Wednesday, March 14, 2018


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.