##### Syntax

-Dname=[symbol | number]

##### Description

This option instructs the linker to define the symbol name as either the value number or the low-level symbol symbol. You can specify number in either decimal or hexadecimal notation using a '0x' prefix.

##### To set this option in the CrossStudio development environment

To define the linker symbols for a project:

- Select the project in the Project Explorer.
- In the Linker Options group edit the Linker Symbol Definitions property.

The Linker Symbol Definitions property is a semicolon-separated list of symbol definitions, for example “name1=value1;name2=value2”. Clicking the button at the right of the property displays the Linker Symbol Definitions dialog which will allow you to easily edit the definitions.

##### Example

The following defines two linker symbols, stack_size with a value of 512 (0x200) and ___vfprintf with a value of the symbol ___vfprintf_int..

    -Dstack_size=0x200 -D___vfprintf=___vfprintf_int