31.01.2013 Views

mplab c18 c compiler getting started - Computer & Information Science

mplab c18 c compiler getting started - Computer & Information Science

mplab c18 c compiler getting started - Computer & Information Science

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

MPLAB ® C18 C Compiler Getting Started<br />

TABLE 2-1: MPLAB ® C18 SOFTWARE COMPONENTS<br />

Component Description<br />

Program files The executables for the <strong>compiler</strong> and linker. Install this component<br />

unless this is an upgrade for the auxiliary files only (not the<br />

executables).<br />

Assembler files The MPASM assembler and the assembly header files for the<br />

devices supported by MPLAB C18 (p18xxxx.inc).<br />

Linker script files Files required by the MPLINK linker. There is one file for each supported<br />

PIC18 microcontroller. Each file provides a default memory<br />

configuration for the processor and directs the linker in the allocation of<br />

code and data in the processor’s memory.<br />

Note: These linker scripts differ from the linker scripts provided with<br />

the MPLAB IDE in that these are specifically designed for use<br />

with MPLAB C18. It is recommended this component be<br />

installed.<br />

Standard headers The header files for the standard C library and the processor-specific<br />

libraries. It is recommended this component be installed.<br />

Standard libraries This component contains the standard C library, the processor-specific<br />

libraries and the start-up modules. See the MPLAB ® C18 C Compiler<br />

Libraries (DS51297) and the MPLAB ® C18 C Compiler User’s Guide<br />

(DS51288) for more information on the libraries and start-up modules.<br />

Since most typical programs use the libraries and a start-up module, it<br />

is recommended that this component be installed.<br />

Examples The sample applications to assist users in <strong>getting</strong> <strong>started</strong> with MPLAB<br />

C18, including the examples described in this document.<br />

Library source code The source code for the standard C library and the processor-specific<br />

libraries. Install this component to view the source code and to modify<br />

and rebuild the libraries.<br />

Preprocessor source<br />

code<br />

The source code for the preprocessor. It is provided for general<br />

interest.<br />

DS51295F-page 20 © 2005 Microchip Technology Inc.

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

Saved successfully!

Ooh no, something went wrong!