Jump to main content
MPLAB® XC32 C/C++ Compiler User's Guide for PIC32M MCUs
MPLAB® XC32 C/C++ Compiler User's Guide for PIC32M MCUs
  1. Home
  2. 3 How To's
  3. 3.2 Invoking the Compiler
  4. 3.2.1 How Do I Compile from Within a Microchip IDE?
Previous | Next
  • Notice to Development Tools Customers
  • 1 Preface
  • 2 Compiler Overview
  • 3 How To's
    • 3.1 Installing the Compiler
    • 3.2 Invoking the Compiler
      • 3.2.1 How Do I Compile from Within a Microchip IDE?
      • 3.2.2 How Do I Compile on the Command-Line?
      • 3.2.3 How Do I Compile Using a Make Utility?
      • 3.2.4 How Can I Select Which Compiler I Want to Build With?
      • 3.2.5 How Do I Build Libraries?
      • 3.2.6 How Do I Know What Compiler Options Are Available and What They Do?
      • 3.2.7 How Do I Know What the Build Options in Microchip IDEs Do?
      • 3.2.8 What is Different About an MPLAB X IDE Debug Build?
    • 3.3 Writing Source Code
    • 3.4 Getting My Application To Do What I Want
    • 3.5 Understanding the Compilation Process
    • 3.6 Fixing Code That Does Not Work
  • 4 IDE Integration
  • 5 Command-line Driver
  • 6 ANSI C Standard Issues
  • 7 Device-Related Features
  • 8 Supported Data Types and Variables
  • 9 Memory Allocation and Access
  • 10 Floating-point Support
  • 11 Fixed-Point Arithmetic Support
  • 12 Operators and Statements
  • 13 Register Usage
  • 14 Stack
  • 15 Functions
  • 16 Interrupts
  • 17 Main, Runtime Start-up and Reset
  • 18 Libraries
  • 19 Mixing C/C++ and Assembly Language
  • 20 Optimizations
  • 21 Preprocessing
  • 22 Linking Programs
  • 23 Embedded Compiler Compatibility Mode
  • 24 Common C Interface
  • 25 C Implementation-Defined Behavior
  • 26 C++ Implementation-Defined Behavior
  • 27 Deprecated Features
  • 28 Built-in Functions
  • 29 Built-In DSP Functions
  • 30 PIC32 DSP Library
  • 31 PIC32 Debug-Support Library
  • 32 DSP Wrapper Functions
  • 33 Document Revision History
  • Microchip Information

3.2.1 How Do I Compile from Within a Microchip IDE?

See the MPLAB® X IDE User’s Guide for detailed information on how to create and configure an MPLAB X IDE project. For assistance with the MPLAB extensions for VS Code, see developerhelp.microchip.com/xwiki/bin/view/software-tools/ides/extensions/.

For information on compiler options within the IDE, see IDE Integration.

DS50002799H

The online versions of the documents are provided as a courtesy. Verify all content and data in the device’s PDF documentation found on the device product page.

About

Company
Careers
Contact Us
Media Center
Investor Relations
Corporate Responsibility

Support

Microchip Forums
AVR Freaks
Design Help
Technical Support
Export Control Data
PCNs

Quick Links

microchipDIRECT.com
Microchip University
myMicrochip
Blogs
Reference Designs
Parametric Search
Microchip Logo

Microchip Technology Inc.

2355 West Chandler Blvd.

Chandler, Arizona, USA

Microchip Facebook
Microchip LinkedIn
Microchip Twitter
Microchip Instagram
Microchip Weibo

© Copyright 1998-2024 Microchip Technology Inc. All rights reserved. Shanghai ICP Recordal No.09049794

Terms Of Use
Privacy Notice
Legal
Your Privacy Choices California Consumer Privacy Act (CCPA) Opt-Out Icon