Invoking the Linker

The general syntax for invoking the linker is:

cl6x --run_linker [options] filename1 .... filenamen
cl6x --run_linker is the command that invokes the linker. The --run_linker option's short form is -z.
options can appear anywhere on the command line or in a linker command file. (Options are discussed in Section 8.4.)
filename1, filenamen can be object files, linker command files, or archive libraries. The default extension for all input files is .obj; any other extension must be explicitly specified. The linker can determine whether the input file is an object or ASCII file that contains linker commands. The default output filename is a.out, unless you use the --output_file option to name the output file.

There are two methods for invoking the linker:

For information on invoking the linker for C/C++ files, see Section 8.10.