07.04.2013 Views

MPLAB C Compiler for PIC24 MCUs and dsPIC DSCs ... - Microchip

MPLAB C Compiler for PIC24 MCUs and dsPIC DSCs ... - Microchip

MPLAB C Compiler for PIC24 MCUs and dsPIC DSCs ... - Microchip

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

16-Bit C <strong>Compiler</strong> User’s Guide<br />

3.4 FILE NAMING CONVENTIONS<br />

3.5 OPTIONS<br />

The compilation driver recognizes the following file extensions, which are<br />

case-sensitive.<br />

TABLE 3-1: FILE NAMES<br />

Extensions Definition<br />

file.c A C source file that must be preprocessed.<br />

file.h A header file (not to be compiled or linked).<br />

file.i A C source file that should not be preprocessed.<br />

file.o An object file.<br />

file.p A pre procedural-abstraction assembly language file.<br />

file.s Assembler code.<br />

file.S Assembler code that must be preprocessed.<br />

other A file to be passed to the linker.<br />

The compiler has many options <strong>for</strong> controlling compilation, all of which are<br />

case-sensitive.<br />

• Options Specific to <strong>dsPIC</strong> DSC Devices<br />

• Options <strong>for</strong> Controlling the Kind of Output<br />

• Options <strong>for</strong> Controlling the C Dialect<br />

• Options <strong>for</strong> Controlling Warnings <strong>and</strong> Errors<br />

• Options <strong>for</strong> Debugging<br />

• Options <strong>for</strong> Controlling Optimization<br />

• Options <strong>for</strong> Controlling the Preprocessor<br />

• Options <strong>for</strong> Assembling<br />

• Options <strong>for</strong> Linking<br />

• Options <strong>for</strong> Directory Search<br />

• Options <strong>for</strong> Code Generation Conventions<br />

DS51284H-page 34 © 2008 <strong>Microchip</strong> Technology Inc.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!