Installing MPLAB® XC8 C Compiler
1 Download MPLAB® XC8 Installer
Download the installer appropriate to your operating system.
2 Run the Installer
Choose your operating system from the tabs below:
1
Run Installer

Go to the location where you downloaded the installer. Unzip the downloaded file and run the installer:
xc8-vX.XX-windows-installer.exe.
Depending on your Windows security settings, you may get a window asking if you are sure you want to run this program. Answer "Yes".
4
Choose Installer
7
Compiler Settings
- Apply settings to all users of this machine
- Leave checked or uncheck if required in your environment
- Add xc8 to the PATH environment variable
- Not generally required unless you plan to use XC8 from the command line (terminal or script).
- Add header file path to MCC_INCLUDE environment variable (used by the MPLAB C18 tools)
- Required if you check either item below.
- Update MPLAB IDE to use the XC8 compiler for all existing C18 (mcc18) projects
- Best to leave unchecked if you still wish to use the legacy compiler with older projects.
- Use XC8 for the C18 Linker, Librarian, and Assembler
- Best to leave unchecked if you still wish to use the legacy compiler with older projects.
Click Next >.
10
Licensing Information
If you:
- Have activated a license on a previous version of MPLAB XC8
- You wish to use the free version of the compiler (some optimization features disabled)
simply click Next >.
Otherwise, choose to:
- Purchase a license (to receive an activation key that will unlock the Standard or Pro optimization features)
- Use the Pro evaluation version (reverts to free version after 60 days)
- Provide an activation key.
Click Next >.


































