Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
Table of Contents
2012-2013 Microchip Technology Inc. DS50002071C-page 5
4.6 Project Example ........................................................................................... 70
4.6.1 Run the Project Wizard ............................................................................. 70
4.6.2 Set Build Options ....................................................................................... 71
4.6.3 Build the Project ........................................................................................ 71
4.6.4 Build Errors ................................................................................................ 72
4.6.5 Output Files ............................................................................................... 72
4.6.6 Further Development ................................................................................. 72
Chapter 5. Compiler Command-Line Driver
5.1 Introduction ................................................................................................... 73
5.2 Invoking the Compiler ................................................................................... 74
5.2.1 Drive Command-Line Format .................................................................... 74
5.2.2 Environment Variables .............................................................................. 74
5.2.3 Input File Types ......................................................................................... 75
5.3 The Compilation Sequence .......................................................................... 76
5.3.1 The Compiler Applications ........................................................................ 76
5.3.2 Single-Step Compilation ............................................................................ 77
5.3.3 Multi-Step Compilation .............................................................................. 78
5.3.4 Assembly Compilation ............................................................................... 79
5.4 Runtime Files ............................................................................................... 80
5.4.1 Library Files ............................................................................................... 80
5.4.2 Startup and Initialization ............................................................................ 80
5.5 Compiler Output ........................................................................................... 81
5.5.1 Output Files ............................................................................................... 81
5.5.2 Diagnostic Files ......................................................................................... 81
5.6 Compiler Messages ...................................................................................... 82
5.7 Driver Option Descriptions ........................................................................... 83
5.7.1 Options Specific to 16-Bit Devices ............................................................ 83
5.7.2 Options for Controlling the Kind of Output ................................................. 85
5.7.3 Options for Controlling the C Dialect ......................................................... 86
5.7.4 Options for Controlling Warnings and Errors ............................................. 87
5.7.5 Options for Debugging .............................................................................. 93
5.7.6 Options for Controlling Optimization .......................................................... 94
5.7.7 Options for Controlling the Preprocessor .................................................. 99
5.7.8 Options for Assembling ........................................................................... 102
5.7.9 Options for Linking .................................................................................. 103
5.7.10 Options for Directory Search ................................................................. 105
5.7.11 Options for Code Generation Conventions ........................................... 105
5.8 MPLAB X IDE Toolchain or MPLAB IDE Toolsuite Equivalents ................. 106
Chapter 6. Device-Related Features
6.1 Introduction ................................................................................................. 107
6.2 Device Support ........................................................................................... 107
6.3 Device Header Files ................................................................................... 107
6.3.1 Register Definition Files .......................................................................... 107
6.4 Stack .......................................................................................................... 108
6.5 Configuration Bit Access ............................................................................ 109
6.5.1 Configuration Settings Using #pragma config ............... 109
6.5.2 Configuration Settings Using Macros ...................................................... 109
6.6 Using SFRs ................................................................................................ 109
Protego_Release_01_05-Related-OEM-Documentation-MPLAB-XC16-C-Compiler.pdf