/c - Compile Without Linking

This option instructs the compiler to compile all C source files typed on the command line. The compiler creates object files only, but does not pass object files to the linker. The compiler does not produce an executable file or DLL.

The following example compiles First.c, creating the object file First.obj, and then compiles Second.c, creating the object file Second.obj. The compiler does not perform processing with Third.obj, because the compiler stops the build process after compilation and before linking.

CLxxx /c FIRST.C SECOND.C THIRD.OBJ

Where CLxxx is the name of the compiler for the target processor family.

See Also

About Microprocessor Compilers | ARM Guide | Hitachi Guide | MIPS Guide

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.