The MPLAB® XC32 C/C++ Compiler is a powerful, optimizing compiler that converts your ISO C and C++ programs into high-performance, assembly-language instructions to run bare metal on our 32-bit PIC® microcontrollers and SAM microcontrollers and microprocessors. This compiler offers many command-line options and language extensions that enable full access to the device’s hardware features, including Tightly Coupled Memory (TCM), L1 cache coherence, and best-fit memory allocation.
Whether you're working on Microchip devices with 32-bit Arm® or MIPS® cores, the MPLAB XC32 Compiler empowers you to optimize and fine-tune your code for efficiency and minimize your development time for bare-metal or RTOS embedded applications.
This release provides the following new features. Please see the release notes for more detailed information.
IMPORTANT: Upcoming change in the default function in the C Compiler—a future MPLAB XC32 release will change the default for the C Compiler from -fcommon to -fno-common. We recommend changing your projects to use -fno-common now to prepare for this upcoming change. The -fno-common option inhibits the merging of tentative definitions by the linker, so you get a multiple-definition error if the same variable is accidentally defined in more than one compilation unit. In MPLAB X Integrated Development Environment (IDE) v6.1x, you can find this option under [Project Properties » xc32-gcc » Option categories: Optimization » Use common tentative definitions: Disable].
NOTE: MPLAB X IDE v6.15 performance improvement—the MPLAB X IDE v6.15 release introduced a significant improvement to the loading speed of MPLAB XC32 output ELF files with DWARF debugging information. We recommend upgrading to MPLAB X IDE v6.15 or later for improved project build/load times.
Title
|
Version Number
|
Date
|
|
---|---|---|---|
MPLAB XC32 C-Compiler (Windows) | 4.35 | 18 Sep 2023 | Download |
MPLAB XC32 C-Compiler (macOS) | 4.35 | 18 Sep 2023 | Download |
MPLAB XC32 C-Compiler (Linux) | 4.35 | 18 Sep 2023 | Download |
MPLAB XC32 C-Compiler Source | 4.35 | 18 Sep 2023 | Download |
Title
|
Date
|
|
---|---|---|
MPLAB XC32 Release Notes | 18 Sep 2023 | Download |
MPLAB XC32 C/C++ Compiler User's Guide for PIC32C/SAM MCUs | 19 Jun 2023 | Download |
MPLAB XC32 C/C++ Compiler User's Guide for PIC32M MCUs | 19 Jun 2023 | Download |
MPLAB XC32 Assembler, Linker and Utilities User's Guide | 19 Jun 2023 | Download |
MPLAB XC32 Users Guide for Embedded Engineers | 30 Mar 2017 | Download |
32-Bit Language Tools Libraries | 15 Oct 2012 | Download |
MPLAB XC32 Users Guide for Embedded Engineers - Code Examples | 08 Aug 2023 | Download |