Minimum Compiler Requirements

Supported Compilers

MPLAB® X IDE requires that you use a recent version of our supported compilers. Some older versions of compilers don't generate all of the output files required by MPLAB X IDE.

Table 1: Current Compilers
Compiler Toolchain Earliest Compatible Version
MPLAB XC8 XC8 1.0 and later
MPLAB XC16 XC16 1.0 and later
MPLAB XC32 XC32 1.0 and later
ARM GNU ARM GNU 5.3.1 and later
AVR GNU AVR GNU 3.4.3 and later

Table 2: Legacy Compilers

Compiler Toolchain Earliest Compatible Version
MPLAB C Compiler for PIC18 C18 3.35 upgrade
MPLAB C Compiler for PIC24 and dsPIC
MPLAB C Compiler for PIC24
MPLAB C Compiler for dsPIC
C30
C42
dsPIC
3.23
MPLAB C Compiler for PIC32 C32 1.11
HI-TECH PICC Pro
HI-TECH PICC Std
HI-TECH PICC 9.70
9.60
HI-TECH PICC-18 Pro
HI-TECH PICC-18 Std
HI-TECH PICC18 9.63
8.00
HI-TECH dsPICC HI-TECH dsPICC 9.61
HI-TECH PICC32 HI-TECH PICC32 9.60

Many third-party compilers are already supported or will be supported shortly. Contact your compiler vendor for information about which version works with MPLAB X IDE.

Supported Assemblers

Table 3: Current Assemblers

Assembler/Linker Related Toolchain(s) Earliest Compatible Version
MPASM™ Assembler MPASM, C18 (1) 5.42 (Linux / macOS)
5.43 (Windows OS)
MPLINK™ Linker MPASM, C18 (1) 4.39
AVRASM2 None 2.2.6

Table 4: Legacy Assemblers

Assembler/Linker Related Toolchain(s) Earliest Compatible Version
MPLAB Assembler/Linker for PIC24 MCUs and dsPIC DSCs ASM30 (2), C30, C24, dsPIC 3.23
MPLAB Assembler/Linker for PIC32 MCUs C32 1.11

  1. The MPASM assembler and MPLAB Linker may be used with, but are not a part of, the MPLAB C Compiler for PIC18 MCUs toolchain.
  2. Beginning with MPLAB X IDE v1.30, this ASM30 toolchain will no longer be distributed with the IDE. However, it will continue to be supported. Consider using the assembler/linker that comes with one of the MPLAB XC C compilers for the latest versions of the assembler/linker. See compiler documentation for details.
© 2018 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.