Microchip Technology SW006022-2N Data Sheet

Page of 338
MPLAB
®
 XC16 C COMPILER
USER’S GUIDE
 2012 Microchip Technology Inc.
DS52071B-page 49
Chapter 3.  Compiler Command-Line Driver
3.1
INTRODUCTION
The compiler command-line driver (xc16-gcc) is the application that invokes the oper-
ation of the MPLAB XC16 C Compiler. The driver compiles, assembles and links C and 
assembly language modules and library archives. Most of the compiler command-line 
options are common to all implementations of the GCC toolset. A few are specific to 
the compiler and will be discussed below.
The compiler driver also may be used with MPLAB IDE. Compiler options are selected 
in the GUI and passed to the compiler driver for execution.
Topics concerning the command-line use of the driver are discussed below. For more 
on how to use the compiler with MPLAB IDE, please refer to the MPLAB Assembler, 
Linker and Utilities for PIC24 MCUs and dsPIC DSCs User’s Guide (DS51317)
.