To setup MPLAB for use with IAR PIC18 tools:

1.      Make sure the environment variable QPICINFO is set to point to the
        'config' directory of the ICC installation. This directory contains
        processor definition files *.ddf. The path should end with a '\'.

2.      Install the IAR tools in MPLAB by selecting the command 'Install 
        Language tool...' from the Project menu, once for each of the
        compiler, assembler and linker. As Executable, use the EW installation 
        'iccpic18.exe' and 'apic18.exe' for the complier and assembler. 
        The linker should use 'iarl.exe' in the MPLAB directory.

3.      Create an MPLAB project. Select the language suite to be IAR18. The 
        target node [.HEX] should use the IAR linker. Make sure Coff output 
        format is checked and add an include path to the EWPIC18 'lib' direc-
        tory. The 'Linker setup file' option is mandatory.

4.      Add a source node. This node should be configured to use the IAR
        compiler or assembler, 'PIC18 C compiler' or 'PIC18 assembler'. 
        Add an include file path to the ICC 'inc' directory. 

5.      Build the project.	
