5.1 MPLAB® X IDE and Tools Installation

In order to use the XC-DSC language tools with MPLAB X IDE, you must install:

  • MPLAB X IDE, which is available for free on the Microchip website.
  • MPLAB® XC-DSC C Compiler, which includes all of the XC-DSC language tools. The compiler is available for free (Free and Evaluation license levels) or for purchase (PRO license level) on the Microchip website.

The DSC language tools will be installed, by default, in the directory:

  • Windows OS - C:\Program Files\Microchip\xc-dsc\vx.xx
  • Mac OS - /Applications/microchip/xc-dsc/vx.xx
  • Linux OS - /opt/microchip/xc-dsc/vx.xx

where vx.xx is the version number.

The executables for each tool will be in the bin subdirectory:

  • C Compiler - xc-dsc-gcc.exe
  • Assembler - xc-dsc-as.exe
  • Object Linker - xc-dsc-ld.exe
  • Object Archiver/Librarian - xc-dsc-ar.exe
  • Other Utilities - xc-dsc-utility.exe

Device support files may be found under the support subdirectory. The generic xc.h C header file and xc.inc generic assembler include file may be found under the support/generic subdirectory.