User`s manual

12.4.4 When Using the IAR C Compiler (ICC)
12.4.4.1 Specify the Option
Please compile according to the following procedures and link.
At compilation
Specify the "-r" option.
Before linking
Open the linker's option definition file (extension .xcl) to be read when linking and add "-FIEEE695"
and "-y" options. The designation of "-y" option varies depending on the product.
Product Name
-y Option
The debugger for M32C -ylmb
The debugger for M16C/R8C -ylmb
At link
Specify the linker's option definition file name using "-f" option.
In the options other than the above-mentioned, the operation check is not done. Please acknowledge
that the options other than the above-mentioned cannot be recommended.
12.4.4.2 Command Execution Examples
The following shows examples of entering commands depending on the product
The debugger for M32C
>ICCMC80 -r file1.c<Enter>
>ICCMC80 -r file2.c<Enter>
>XLINK -o filename.695 -f lnkm80.xcl file1 file2<Enter>
The debugger for M16C/R8C
>ICCM16C -r file1.c<Enter>
>ICCM16C -r file2.c<Enter>
>XLINK -o filename.695 -f lnkm16c.xcl file1 file2<Enter>
The XCL file name varies depending on the product and memory model. For details, see the ICCxxxx
manual.
272