Can I install two or more versions of the XC8 compiler?
Yes, two or more versions of the MPLAB® XC8 compiler can be installed on the same machine. For example, you can have XC8 v1.10 and XC8 v1.20 compilers installed on your machine.
Compilers will be automatically installed into a directory that is specific to each compiler version. For example, under Windows® the XC8 v1.10 and XC8 v1.20 compilers would typically live in separate directories, such as:
- C:\Program Files\Microchip\xc8\v1.10
- C:\Program Files\Microchip\xc8\v1.20
To select which compiler will actually be used when building a project under MPLAB X IDE follow these steps:
1
Open a project in MPLAB X IDE.
2
Right-click on the project name.
3
Select Properties.
4
Under Compiler Toolchains, select the compiler version to use and press OK.