Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

MPLAB
®
XC16 C Compiler Users Guide
DS50002071C-page 66 2012-2013 Microchip Technology Inc.
4.5.2 Build Options Dialog, XC16 C Tab (If Installed)
A subset of command-line options may be specified in MPLAB IDE in the Build Options
dialog, XC16 C tab. Select a category, and then set up compiler options. For additional
options, see Section 5.7 Driver Option Descriptions.
General Category
Memory Model Category
Generate Command Line
Generate debugging
information
Create a COFF or ELF file with information to allow debugging of
code in MPLAB IDE. Equivalent to -g option.
Note: COFF supports debugging in the .text section only.
Isolate each function in a
section
Place each function into its own section in the output file. Equiva-
lent to -ffunction-sections option.
Support all ANSI-stan-
dard programs
Support all (and only) ASCI C programs. Equivalent to -ansi
option.
Make warnings into
errors
Select to halt compilation based on warnings as well as errors.
Equivalent to -Werror option.
Additional warnings Enable all warnings. Equivalent to -Wall option.
Strict ANSI warnings Issue all warnings demanded by strict ANSI C. Equivalent to
-pedantic option.
Use 64-bit double Make double equivalent to long double. By default, the com-
piler uses a double type equivalent to float. Equivalent to
-fno-short-double option.
Preprocessor Macros Add/remove preprocessor macros.
Restore Defaults Restore tab default settings.
Use Alternate Settings
Text Box Enter options in a command-line (non-GUI) format.
Generate Command Line
Code Model Select a code (program memory/ROM) model. Choose from
default (small), large (>32Kwords) or small (32Kwords).
Data Model Select a data (data memory/RAM) model. Choose from default
(small), large (>8KB) or small (8KB).
Location of Constants Select a memory location for constants. Choose from default (code
space), data space or code space.
Scalar Model Select a scalar model. Choose from default (small), large (>8KB)
or small (8KB).
Restore Defaults Restore tab default settings.
Use Alternate Settings
Text Box Enter options in a command-line (non-GUI) format.

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh