Keil Logo Arm Logo

L166 User's Guide

Output Files

The L166 Linker generates an object module and a listing (map) file.

  • The object file, by default, has no file extension.
  • The listing file has the .M66 extension.

If no output filename is specified, the linker uses the filename of the first object file in the input file list for the object module and for the listing file. An error occurs if the first input file contains no extension.

For example:

L166 PROG1

generates the following fatal error:

*** FATAL ERROR L209: FILE USED IN CONFLICTING CONTEXTS
    FILE: PROG1

This error occurs because the name of the input object file is identical to the object file the linker creates. The following example demonstrates how to avoid this problem.

L166 PROG1 TO PROG1.ABS

This example specifies an output filename (PROG1.ABS) and avoids the prior error.

arm-logo-small

Keil logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.