Specifies the name for an output file.
None
IA-32 architecture, Intel® 64 architecture, IA-64 architecture
Linux and Mac OS X: | -o file |
Windows: | None |
file | Is the name for the output file. The space before file is optional. |
OFF | The compiler uses the default file name for an output file. |
This option specifies the name for an output file as follows:
Otherwise, it specifies the name of the executable file.
If you misspell a compiler option beginning with "o", such as -openmp, -opt-report, etc., the compiler interprets the misspelled option as an -o file option. For example, say you misspell "-opt-report" as "-opt-reprt"; in this case, the compiler interprets the misspelled option as "-o pt-reprt", where pt-reprt is the output file name.
Linux and Mac OS X: None
Windows: /Fe,
/exe
Fe compiler option
object compiler option