Chapter 14 Linking Object Files with LINK

This chapter describes the Microsoft Segmented Executable Linker (LINK) version 5.30. LINK combines compiled or assembled object files into an executable file. This chapter explains LINK's input syntax and fields and tells how to use options to control LINK.

LINK is distributed in the form of LINK.EXE for DOS. LINK is DOS-extended and uses extended memory if available.

When you link for debugging using the /CO option, LINK calls the CVPACK utility. CVPACK version 4.00 must be available on the path. For more information, see “CVPACK” on page 743.

This version of LINK does not support the Microsoft Incremental Linker (ILINK). To allow existing makefiles to remain compatible, a file called ILINK.EXE is provided. This version of ILINK always invokes a full link. The LINK options for incremental linking are no longer supported. If /INCR, /PADC, or /PADD is specified, LINK issues a warning and ignores the option.