SPRUI03E June 2015 – January 2023
The linker creates an output module when no errors are encountered. If you do not specify a filename for the output module, the linker gives it the default name a.out. If you want to write the output module to a different file, use the --output_file option. The syntax for the --output_file option is:
--output_file= filename
The filename is the new output module name.
This example links file1.c.obj and file2.c.obj and creates an output module named run.out:
cl6x --run_linker --output_file=run.out file1.c.obj file2.c.obj