C/C++ Compiler (cl.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Compiling Without Linking (/c)
                                             Up Contents Index Back
─────C/C++ Compiler─────────────────────────────────────────────────────────
 
     Syntax:  /c
 
     The /c option suppresses linking. Source files given on the
     command line are compiled, but the other operations are not
     carried out. Any object files created are not linked. No
     executable file is created. Object files specified on the command
     line are ignored.
 
     This option is useful when you are compiling individual source
     files that do not make up a complete program or when you are
     creating NMAKE makefiles.
 
     The /c option applies to the entire CL command line, regardless of
     its position.
                                    -♦-