To verify it is working, create a simple program in or a command line:
For example, if you are using a PIC16F877A, including #include <xc.h> at the top of your code will automatically pull in the specific definitions for the PIC16F877A. xc.h library download
To get xc.h , you must download and install the appropriate from the Microchip MPLAB XC Compilers Page . XC8 : For 8-bit PIC and AVR microcontrollers. XC16 : For 16-bit PIC microcontrollers and dsPIC DSCs. To verify it is working, create a simple
MPLAB® XC8 C Compiler Version 3.10 Release Notes for PIC® MCU To verify it is working
: /opt/microchip/xc8/v2.40/include/xc.h