If you already have an MPLAB® XC8 compiler and want to know if it supports a particular device there are a couple of ways you can do this.
1) You can also see the supported devices in your favorite web browser. Open the files pic_chipinfo.html for a list of all supported baseline or mid-range device, or pic18_chipinfo.html for all PIC18 devices. Both these files are located in the “docs” folder of compiler’s installation directory.
2) Run the compiler on the DOS command line with the argument --CHIPINFO.
For example, if you were checking the v1.20 XC8 compiler use the following command.
"C:\Program Files\Microchip\xc8\v1.20\bin\xc8.exe" --CHIPINFO
What you will see is a list of supported devices printed to the console.