SPRU514Z July 2001 – October 2023 SM320F28335-EP
When using the -plink option, you must include the --output_file option. If the output filename is specified in a linker command file, the compiler does not have access to the filename to pass it along to other phases of post-link optimization, and the process will fail. For example:
cl2000 file1.c file2.asm --run_linker --output_file=prog.out lnk.cmd -plink
Because the post-link optimization flow uses the absolute lister, abs2000, it must be included in your path.