C and C++


The MPLAB Compiler Models

CodeSonar provides two MPLAB compiler models: mcc18 and mcc30.



Overview

CodeSonar provides two MPLAB compiler models.

Compiler model Modeled native compiler Source file extensions Description
mcc18 MPLAB C18 C compiler .c, .C C source files.
mcc30 MPLAB C30 C compiler .c, .C C source files.

Availability

Platform Availability The mcc18 and mcc30 compiler models are available for all platforms.
Default Recognition/Handling The models are disabled by default on all platforms.
Specifying Mappings The mcc18 and mcc30 models are disabled by default due to executable name conflicts. To enable one or both, add the appropriate COMPILER_MODELS rules to your configuration file.
Windows:
COMPILER_MODELS += mcc18.exe -> mcc18
COMPILER_MODELS += mcc30.exe -> mcc30
Other systems:
COMPILER_MODELS += mcc18 -> mcc18
COMPILER_MODELS += mcc30 -> mcc30

For full details of all native compilers recognized by CodeSonar by default, see section Compilers Recognized by CodeSonar.

Command Arguments

Command arguments can be specified: