|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|
Link output includes .exe files, DLLs, mapfiles, and messages.
In incremental mode, LINK creates an .ilk file to hold status information for later incremental builds of the program. For details about .ilk files, see .ilk Files. For more information about incremental linking, see the Link Incrementally (/INCREMENTAL) option.
When LINK creates a program that contains exports (usually a DLL), it also builds a .lib file, unless an .exp file was used in the build. You can control the import library file name with the /IMPLIB option.
If the Generate Mapfile (/MAP) option is specified, LINK creates a mapfile.
If the Generate Debug Info (/DEBUG) option is specified, LINK creates a PDB to contain debugging information for the program.
When you type link without any other command-line input, LINK displays a usage statement that summarizes its options.
LINK displays a copyright and version message and echoes command-file input, unless the Suppress Startup Banner (/NOLOGO) option is used.
You can use the Print Progress Messages (/VERBOSE) option to display additional details about the build.
LINK issues error and warning messages in the form LNKnnnn. This error prefix and range of numbers are also used by LIB, DUMPBIN, and EDITBIN.