Compiler Command Line Options
All of the compiler command lines use the same syntax, where CLxxx indicates the name of particular compiler you are using.
CLxxx [[option...]] file... [[option | file]]... [[lib...]]
[[/link link-opt...]][[@response-file]]
The following table shows the arguments of the compiler execution command.
Argument | Description |
---|---|
Option | One or more compiler options.
Note All options apply to all specified source files. |
File | Specifies the name of one or more source files, object files, or libraries. You must specify at least one file name. The compiler compiles the source files and passes the names of the object files and libraries to the linker. |
Lib | Specifies one or more library names. The compiler passes the names of these libraries to the linker for processing. |
Link-opt | Specifies one or more of the linker options. The compiler command passes these options to the linker for processing. |
Response-file | Specifies a response file that can contain multiple options and file names that you would otherwise type on the command line or specify by using the CL environment variable. |
You can specify any number of options, file names, and library names, as long as the length of the command line does not exceed the limit dictated by the operating system (OS).
See Also
Compiler Setup Mechanisms | Response Files | CL Environment Variable
Last updated on Thursday, April 08, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.