Microchip Technology SW006022-2N Ficha De Dados
Compiler Command-Line Driver
2012 Microchip Technology Inc.
DS52071B-page 53
FIGURE 3-1:
SOFTWARE DEVELOPMENT TOOLS DATA FLOW
The driver program will call the required internal compiler applications. These applica-
tions are shown as the smaller boxes inside the large driver box. The temporary file pro-
duced by each application can also be seen in this diagram.
tions are shown as the smaller boxes inside the large driver box. The temporary file pro-
duced by each application can also be seen in this diagram.
Table 3-3 lists the compiler applications. The names shown are the names of the exe-
cutables, which can be found in the bin directory under the compiler’s installation
directory. Your PATH environment variable should include this directory.
cutables, which can be found in the bin directory under the compiler’s installation
directory. Your PATH environment variable should include this directory.
Object File Libraries
(*.a)
Assembler
Linker
C Source Files
(*.c)
C Compiler
Assembly Source
Files (*.S)
Debug File
(*.cof,*.elf)
Archiver (Librarian)
Compiler
Driver
Program
Driver
Program
MPLAB
®
X IDE
Debug Tool
Source Files (*.s)
Object Files
(*.o)
Command-Line
Simulator
Linker Script File
(1)
(*.ld)
Executable File
(*.hex)
MPLAB X IDE
Programmer
Programmer
bin2hex Utility
Output File
(*.out)
Note 1:
The linker can choose the correct linker script file for your project.