Jump to main content
MPLAB XC-DSC C Compiler User's Guide
MPLAB XC-DSC C Compiler User's Guide
  1. Home
  2. 20 Preprocessing
  • Notice to Development Tools Customers
  • 1 Preface
  • 2 Compiler Overview
  • 3 Compiler and Other Development Tools
  • 4 How To's
  • 5 XC-DSC Toolchain and MPLAB® X IDE
  • 6 Compiler Command-Line Driver
  • 7 Device-Related Features
  • 8 Differences Between MPLAB® XC-DSC and C Standard
  • 9 Supported Data Types and Variables
  • 10 Fixed-Point Arithmetic Support
  • 11 Memory Allocation and Access
  • 12 Operators and Statements
  • 13 Register Usage
  • 14 Functions
  • 15 Interrupts
  • 16 Main, Runtime Startup and Reset
  • 17 Mixing C and Assembly Code
  • 18 Library Routines
  • 19 Optimizations
  • 20 Preprocessing
    • 20.1 C Language Comments
    • 20.2 Preprocessing Directives
    • 20.3 Predefined Macro Names
  • 21 Linking Programs
  • 22 Implementation-Defined Behavior
  • 23 Embedded Compiler Compatibility Mode
  • 24 Common C Interface
  • 25 Diagnostic Pragmas
  • 26 Diagnostic Messages
  • 27 GNU Free Documentation License
  • 28 Built-in Functions
  • 29 Document Revision History
  • The Microchip Website
  • Product Change Notification Service
  • Customer Support
  • Product Identification System
  • Microchip Devices Code Protection Feature
  • Legal Notice
  • Trademarks
  • Quality Management System
  • Worldwide Sales and Service

20 Preprocessing

All C source files are preprocessed before compilation. The -E option can be used to preprocess and then stop the compilation. See 6.6.2 Options for Controlling the Kind of Output

Assembler files can also be preprocessed if the file extension is .S rather than .s. See 6.1.2 Input File Types

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.

Microchip Facebook
Microchip LinkedIn
Microchip Twitter
Microchip YouTube
Microchip Instagram
Microchip Weibo
Microchip Blog
Contact |
Legal |
Privacy Policy |
Cookies |
Careers

Stay on the leading edge with our blog

MicroSolutions

© Copyright 1998-2022 Microchip Technology Inc. All rights reserved.