Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Setting Linker Options

Linker options can be set inside or outside of the development environment. The topic for each linker option discusses how it can be set in the development environment. See Linker Options for a complete list.

When you run LINK outside the development environment, you can specify input in one or more ways:

LINK first processes options specified in the LINK environment variable, followed by options in the order they are specified on the command line and in command files. If an option is repeated with different arguments, the last one processed takes precedence.

Options apply to the entire build; no options can be applied to specific input files.

© 2015 Microsoft