In order to test running the linker from the command line, I have successfully created a new project using the CCS IDE v 6.1.1.00022 (File->New->CCS Project) and would now like to run the linker CL6x.exe from the command line to link the object code generated by the compiler . I copied the linker command file generated by default c6748.cmd, to the debug directory and added one line to the .cmd file main.obj.
When I run the linker using Cl6x --run_linker c6748.cmd
I get "error: no input section is linked in"
if it bypass the cmd file and just run Cl6x --run_linker main.obj" I get the same error.
How can I use the IDE to generate the .obj files and then use the linker from the command line to successfully generate the same .out file as the IDE created. I thought I could just add the .obj file to the .cmd file but I am missing something.