5.2.3 How Can I Select Which Compiler Version to Build With?
Both the compilation and installation processes were designed to allow you to have more than one compiler version installed at the same time.
In MPLAB X IDE, select the compiler to use for building a project by opening the Project Properties window (File>Project Properties) and selecting the Configuration category (Conf: [default]). A list of MPLAB XC16 compiler versions is shown in the Compiler Toolchain, on the far right of the window. Select the MPLAB XC16 compiler you require.
Once selected, the controls for that compiler are shown by selecting the XC16 global options, XC16 Compiler, and XC16 Linker categories. These reveal a pane of options on the right; with each category having several panes which can be selected from a pull-down menu that is near the top of the pane.