3.2.4 How Can I Select Which Compiler I Want to Build With?
The compilation and installation process has been designed to allow you to have more than one compiler installed at the same time For MPLAB X IDE, you can create a project and then build this project with different compilers by simply changing a setting in the project properties.
In MPLAB X IDE, you select which compiler to use when building a project by opening the
Project Properties window (File>Project Properties) and selecting
the Configuration category (Conf: [default]
). A list of MPLAB XC32
compiler versions is shown in the Compiler Toolchain, on the far right. Select the MPLAB
XC32 compiler you require.
Once selected, the controls for that compiler are then shown by selecting the XC32 global options, XC32 Compiler and XC32 Linker categories. These reveal a pane of options on the right; each category has several panes which can be selected from a pull-down menu that is near the top of the pane.