Download Latest MPLAB XC Compilers

Click the “Download Latest” link to download the latest version of an MPLAB XC C compiler. Also for some operating systems, it will install the compiler and update the compiler selection tree.

The “Download Latest” link may be found in the New Project wizard under Step 6. “Select Compiler,” Compiler Toolchains>XCn, where n = 8, 16 or 32.

Note: If there is no internet connection, this link will not be displayed.

Once a project has been created, the link will be available in the Project Properties window.

Figure 1. Download Latest

After the “Download Latest” link has been clicked:

  1. 1.A message dialog displays, telling you what will happen. You will be able to stop the download and installation at this time.
  2. 2.If you already have the latest compiler installed, a message dialog asks if you would like to continue.
  3. 3.You will be asked to select the destination of the compiler installer.
  4. 4.When downloading, there will be a progress window indicating how much of the download is left.
  5. 5.Windows and Mac OS systems: Immediately after the installer is downloaded, it begins installing the compiler. After the compiler is installed, MPLAB X IDE attempts to add the compiler to the selection tree. If it can’t be added, you will be notified that you need to manually add the compiler to MPLAB X IDE (Set Language Tool Locations).
  6. 6.Linux OS systems: You must manually install the downloaded compiler. Once added, MPLAB X IDE should recognize it. If not, you will need to manually add the compiler to MPLAB X IDE (Set Language Tool Locations).