The simplest use of LINK is to combine one or more object files with a run-time library to create an executable file. You type LINK at the command-line prompt, followed by the names of the object files and a semicolon (;). LINK combines the object files with language libraries specified in the object files to create an executable file. By default, the executable file takes the name of the first object file in the list.
To interrupt LINK and return to the operating-system prompt, press CTRL+C at any time.
LINK expects you to supply at least one input field (the objfiles field), and as many as five. There are several ways to supply the input fields LINK expects:
Enter all the required input directly on the command line.
Omit one or more of the input fields and respond when LINK prompts for the missing fields.
Put the input in a response file and enter the response-file name in place of the expected input.
These methods can be used in combination. The LINK command line was discussed in Section 12.3. The following sections explain the other two methods.