DSC Linker > Input

Use this panel to specify files the DSC linker should use. You can specify multiple additional libraries and library search paths. Also, you can change the order in which the IDE uses or searches the libraries.

The following table lists and describes the linker input options for DSC.

Table 1. Tools Settings > DSC Linker > Input
Option Description
No Standard Library Check if you do not want to include the standard library.
Linker Command File Consists of three kinds of segments, which must be in this order:
  • A memory segment, which begins with the MEMORY{} directive.
  • Optional closure segments, which begin with the FORCE_ACTIVE{}, KEEP_SECTION{}, or REF_INCLUDE{} directives.
  • A sections segment, which begins with the SECTIONS{} directive.
Entry Point Specifies the program starting point: the first function the debugger uses upon program start; default: __start. This default function is in file Finit_MC56F824x_5x_ISR_HW_RESET. It sets up the DSC environment before code execution. Its final task is calling main().
Library Search Paths (-L) Lets you add/update the search pathname of libraries or other resources related to the project. Click the Add button and type the pathname into the Directory text box. Alternatively, click Workspace or File system , then use the subsequent dialog box to browse to the correct location.
Library Recursive Search Paths (-lr) Lets you add/update the recursive search pathname of libraries or other resources related to the project. Click the Add button and type the pathname into the Directory text box. Alternatively, click Workspace or File system , then use the subsequent dialog box to browse to the correct location.
Additional Libraries Specify multiple additional libraries and library search paths. Also, you can change the order in which the IDE uses or searches the libraries.
Force Active Symbols Directs the linker to include symbols in the link, even if those symbols are not referenced. Makes symbols immune to deadstripping. Separates multiple symbols with single spaces.