About Toolchain Paths

MPLAB X IDE searches for toolchains under default installation paths and the PATH environment variable. An example default path for MPLAB XC16 under a Windows 64-bit operating system is:

C:\Program Files (x86)\Microchip\xc16\vx.xx\bin

When you install a compiler, you have the choice to determine the location. You can either:

OR

If you are installing at a location different from the default, you should add that location to the PATH.

If you do not choose to have the installer add a new location to the PATH, you can point MPLAB X IDE to the compiler location in Tools>Options, Embedded button, Build Tools tab.

Finally, you can manually add the new location to the PATH variable.

If the toolchain is known to MPLAB X IDE, but the path cannot be found, the path will appear in red text.