Changing How the Compiler Interprets Filenames

You can use options to change how the compiler interprets your filenames. If the extensions that you use are different from those recognized by the compiler, you can use the filename options to specify the type of file. You can insert an optional space between the option and the filename. Select the appropriate option for the type of file you want to specify:

--ap_file=filename for a linear assembly source file
--asm_file=filename for an assembly language source file
--c_file=filename for a C source file
--cpp_file=filename for a C++ source file
--obj_file=filename for an object file

For example, if you have a C source file called file.s and an assembly language source file called assy, use the --asm_file and --c_file options to force the correct interpretation:

cl6x --c_file=file.s --asm_file=assy

You cannot use the filename options with wildcard specifications.