LX51 User's Guide

Searching Libraries

There are two types of libraries that linker accesses:

  • User Libraries
  • Run-Time and RTX51 Libraries

The LX51 Linker searches for user libraries (those specified on the linker command line) using the path specification provided with the library file name.

The LX51 Linker searches for run-time and RTX51 libraries using the C51LIB environment variable.

Additional library specifications are not needed unless you want to:

  • include modules from additional libraries,
  • search for libraries in a different location,
  • override use of the default libraries.

Refer to the Input Modules section of the Map File to determine what libraries are included in a program.