C/C++ compilers supported for build integration

As part of creating a build specification, Klocwork automatically searches for the following compiler types by default. If your compiler is not on this list, contact Customer Support by sending an email to support-klocwork@perforce.com so that we can support your compiler. For details on compilers and on creating build specifications generally, see Creating a C/C++ build specification.

Compiler type Klocwork compiler code Names of common compiler variants Introduced Improved
Analog Devices Blackfin and TigerSHARC dsp ccblkfn, ccts 9.5  
Archelon C archelon mcc 10.0  
Archelon CSR Kalimba C kalimba_cc kalimba_link kalcc, kalcc32, kld 11.3 2019.2
ARM armcc armlink ar armcc, armcpp, tcc, tcpp armlink armar Pre-9.5 11.0, 11.2, 2020.4
ARM Optimizing C/C++ compiler (formerly TI tms470 C/C++ compiler) cl470 lnk2000 ar cl470, armcl lnk470 ar470 9.6 10.1, 2019.1, 2023.1
CADUL C cross compiler for Intel 80X86 cadul_compile cadul_link ccu38o lnku38a 9.6  
CEVA compiler (NVIDIA) ceva c16cc 10.0  
Clang clang clang clang++ 9.6 SR3

10.2, 11.3, 2017, 2018, 2018.1, 2018.2, 2018.3, 2019, 2019.1, 2019.2, 2019.3, 2020.1, 2020.2, 2020.3, 2020.4, 2021.2, 2021.3, 2021.4, 2022.1, 2022.2, 2022.4, 2023.1

Clang-cl clang_cl clang_cl 2021.3  
CodeWarrior Freescale S12 chc12 chc12 9.5 10.4
Compiler caching tools ccache ccache, distcc 9.5 2022.4
Cosmic cosmiccompile cosmiclink cxs12x, cx6812, cx6816, cxstm8, cxs12z clnk 9.5 10.2, 2020.4, 2021.1
Embarcadero compiler/linker bcc blink bcc32 ilink32 9.5  
Fujitsu FR Family fcc fcc911s, fcc907s, fcc896s 9.5 2018.2
GNU gnu gnu_ld gcc, g++, cc, c++ ld Pre-9.5 11.3, 2017, 2017.1, 2018.1, 2018.2, 2018.3, 2019.1, 2019.2, 2019.3, 2020.1, 2020.2, 2020.3, 2020.4, 2021.2, 2021.3, 2021.4, 2022.1, 2022.2, 2022.3, 2022.4
GNU ar ar ar Pre-9.5  
Green Hills ghs ghscom ghslink ghsar gcc, gcx, ccarm, cxarm, cccfe, ccmips, cxmips, ccintppc, cxintppc, ccv850, ccppc, ccsh, ccintarm, cxintarm, ccintarm64, cxintarm64, cxppc, ecomarm, ecomppc, ecom800, ecomsh, ecomarm64, elxr, ax Pre-9.5 10.2, 11.2, 11.3, 2019.1, 2019.2
Hexagon Tools qdsp qdsp-gcc, qdsp-g++ 9.5 10.1, 2018.3
HI-CROSS+ Motorola HC16 chc16 chc16 2017  
HI-TECH C compiler/linker picc piclink picc hlink 9.6 2022.3
Hitachi ch38 ch38 ch38.exe Pre-9.5  
HiveCC hive hivecc 10.3 2019
IAR 78k iar_78_compile icc78k0r 10.0 10.1
IAR compiler/linker for AVR32 iar_avr32_compile ccavr32 10.1  
IAR compiler/linker for MAXQ iar_maxq_compile iccmaxq 10.1 2018.2
IAR compiler/linker for RL78 iar_rl78_compile iccrl78 10.1  
IAR H8 iar_h8_compile icch8 10.0 10.1
IAR M32C iar_m32c_compile iccm32c 10.0  
IAR RH850 iar_rh850_compile iccrh850 10.4  
IAR SH compiler/linker iar_sh_compile iccsh 10.0 10.1
IAR compiler/linker for STM8 Microcontroller family iccstm8 ilinkstm8 iccstm8 ilinkstm8 2018.1 2020.2
IAR Systems C compiler/linker for:
  • 8051
  • NEC V850
  • MSP430
  • M16C
  • Renesas RX210
  • CR16C
  • ARM
  • Atmel AVR
  • Renesas R32C
icc8051* iccv850 icc430 xlink iccm16c iar_rx_compile iar_rx_link icccr16c iccarm ilinkarm iar_avr_compile_filter iar_r32c_compile

*Klocwork does not process the compiler option for icc8051 to open standard input as source instead of reading source from a file. If your build uses this option, you can save the source code to a file and run icc8051 with the source file as input, or you can choose to ignore these compilations. The code that is piped through standard input will not be analyzed in the Klocwork build (this is what kwinject does by default).

icc8051* iccv850 icc430 xlink iccm16c iccrx ilinkrx icccr16c iccarm ilinkarm iccavr iccr32c Pre-9.5 10.1, 2019.2, 2022.2, 2023.1
IBM XL C/C++ xlc cc, xlc, xlC and related commands (see kwfilter.conf in the <kw_install>/config directory for the full list) 9.5  
ImageCraft AVR iccavr iccavr 9.5  
ImageCraft M8C compiler/linker iccm8c ilinkm8c ilinkm8c ilinkm8c 10.3  
Intel C++ icc icl icc, icpc icl Pre-9.5 10.1, 11.1, 11.3, 2017, 2018.3, 2020.4
Intel iC-386 c386 c386a 9.6  
Keil CA51 c51 lx51 c51, cx51, c166, c251 lx51, l166, l251 9.5 10.1, 2017.3
Lapis Technology CCU8 ccu8_compile ccu8 2022.4 2023.1
Marvell C compiler/linker marvell_compile ccmsa 10.0  
MetaWare High C/C++ ararc ldarc mcc arac, mcc, h386, hcarc, hcac, ldarc, ldac Pre-9.5 10.1
Metrowerks CodeWarrior mwc mwcc, mwccmcf Pre-9.5 10.1
Microchip MPLAB pic24 pic30 pic30-gcc 9.5 10.1, 2018.3
Microchip MPLAB pic32 pic32 pic32-gcc, pic32-g++, xc32-gcc, xc32-g++ 10.0 2018.3, 2020.1
Microchip MPLAB XC8 C xc8 sc8 2017.1  
Microsoft Visual C++ mscompile mslink cl, clarm link, lib Pre-9.5 10.2, 2017.1, 2018, 2018.3, 2019, 2019.1, 2020.4, 2021.2, 2021.3, 2022.1
Microtec mcx mlk mcx mlk 9.5  
Microware Ultra C for OS-9 ultra xcc 10.0  
Mono Headset SDK gnu ar xap-local-xap-gcc xap-local-xap-ar 9.2 2019.1
Motorola DSP563 moto563compile moto563link g563c dsplnk 9.6  
MPLAB C18 mcc18 mplink mcc18 mplink 9.5 10.1
MPLAB XC16 C xc16-gcc xc16-gcc 2017  
Nintendo Cafe Platform cafe_compile cafe_link cl, link 10.1  
Nvidia CUDA nvcc nvcc 9.6 2019.1
NXP StarCore Freescale scc sc100-ld scc sc100-ld Pre-9.5 10.1, 2017.3
Panasonic C cc103S ld103S cc103S ld103S 9.5  
Panasonic MN101E/MN101L cc101 ld101 cc101 ld101 11.2  
Paradigm C/C++ pcc plink pcc plink 9.6 2019
Plan 9 C plan9 ar 0c, 1c, 2c, 5c, 6c, 7c, 8c, 9c, kc, qc, vc ar.l 9.5 2019.1
QNX qnx qcc Pre-9.5 2018.2, 2022.1, 2022.2
Renesas 78K0R ren_cc78 cc78k0r ren_lk78 lk78k0r 9.6  
Renesas CC-RL RL78 Family ccrl ccrl 2017.2  
Renesas CX ren_cx cx 10.0  
Renesas M32R family compiler/linker
  • ren_m32_compile
  • ren_m32_link
cc32r (compiler) lnk32r (linker) 10.0  
Renesas R8C and M16C families nc30 ren_ln308 nc30 nc308 ln308 9.5 10.1, 11.3
Renesas R32C family nc100 nc100 10.1 11.3
Renesas RH850 family ccrh ccrh 11.2  
Renesas SuperH and RX family rxcompile rxlink rxc, shc optlnk 9.5 10.1, 2020.2
Renesas V850 ca850 ld850 ca850 ld850 9.5  
Rowley Crossworks for MSP430 rowley_compile hcl 10.0  
Sony SN Systems compiler for PS2, PS3 and PSVita snc psp2snc, ps3ppusncllv 10.0 10.1
Sony Orbis Clang compiler for PS4 clang orbis-clang 10.0 10.1
Sun Studio C/C++ sun CC, cc Pre-9.5 10.2
Synopsys ARC MetaWare compiler ccac ccac 11.0 11.3, 2017, 2017.1, 2018.3, 2022.3
Target Chess chess chesscc 10.0 11.1, 11.3
Tasking 68K Toolset compiler/linker tasking_68_compile tasking_68_link c68360, cp68360, c68332, cp68332 (compiler) llink (linker) 10.0  
Tasking ARM Toolset compiler/linker tasking_arm_compile, tasking_arm_link ccarm (compiler) lkarm (linker) 10.0  
Tasking Classic Toolset for C166 compiler/linker tasking_classic_166_compile, tasking_classic_166_link cc166 l166 9.5 10.2
Tasking DSP56X Toolset compiler/linker tasking_dsp56_compile, tasking_166_link c563, cp563 lk563 10.1  
Tasking IFX SLE88 cj2 cj2 9.5  
Tasking SLE88 compiler/linker tasking_sle88_compile, tasking_166_link c88 lk88 10.1  
Tasking Tricore tricore_compile tricore_link cctc, ctc, cptc (compiler)

ltc (linker)

9.5 10.1, 2020.1, 2022.4
Tasking VX Toolset for C166 compiler/linker tasking_166_compile tasking_166_link cc166 lk166 9.6 10.1
Tensilica Xtensa C/C++

xtensa

xt_clang

xt-xc xt-xc++, xt-xcc, xt-xtc++

xt-clang xt-clang++

9.6 10.1, 2018.3, 2021.2, 2022.2
TI ARP32 C/C++ cl_arp32 cl-arp32 9.5  
TI Arm Clang clang tiarmclang 2022.1  
TI msp430 C/C++ cl430 cl430 9.5 10.1
TI tms320c6x, TI tms320c55x, and TI C7000 Optimizing C/C++ cl6x link6x ar6x cl7x, cl6x, cl55 link6x ar6x Pre-9.5 10.1, 2020.4
TI tms320C3x/4x C cl30/lnk30 cl30 (compiler) lnk30 (linker) 10.0  
TI tms320c28x cl2000 lnk2000 ar cl2000 lnk2000 ar2000 9.5 10.1, 2017.2, 2020.4, 2022.1
TriMedia tmcc tmcc tmcc, tmCC Pre-9.5  
Watcom compiler/linker watcom_compile watcom_link wcc, wpp, wcc386, wpp386 (for compiler) wlink (for linker) 10.0  
WinAVR gnu ar avr-gcc, avr-g++ avr-ar 9.6 10.2, 2019.1
Wind River Diab diab dld ar dcc, dplus dld dar Pre-9.5 10.1, 2018.2, 2020.2, 2020.4, 2021.1, 2021.2
Wind River GCC gnu ccppc, ccmips, ccpentium, ccarm, c++ppc, c++mips, c++pentium, c++arm 9.5 11.3, 2017, 2018
ZiLOG eZ80 ez80cc ez80link ez80cc ez80link 9.5