Setting Linker Options
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

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