CL /c

This option suppresses the linker.


The option is /c only.


The sole action of this option is to remove the linker from the list of active compiler modules. Depending on other options, there may be compilation, to produce object files from C or C++ source files, but there will be no linking of object files to produce an executable. The linker can be run separately.