This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How can force the top level make file to only invoke the linker.

Hello, 

I am having an issue with a project that I import into ccs5 from a ccs3 project. 

In the top level makefile under the Tool Invocations sections I can't seem to get the tool to only invoke the linker 

# Tool invocations
C:/Workspaces/DSPPlaypen/Trebuchet/Treb1/Treb1/../../Treb1/trebHW_ReleaseLib/Treb1.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
@echo 'Building target: $@'
@echo 'Invoking: C6000 Linker'
"C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="C:/Workspaces/DSPPlaypen/Trebuchet/Treb1/Treb1/../../Treb1/Treb1.opt" -mv6400+ -O3 --display_error_number --diag_suppress=827 --verbose_diagnostics --mem_model:data=far --abi=coffabi --obj_directory="C:/Workspaces/DSPPlaypen/Trebuchet/Treb1/Treb1/../../Treb1/trebHW_ReleaseLib" --obj_extension=o64p -z -m"C:/Workspaces/DSPPlaypen/Trebuchet/Treb1/Treb1/../../Treb1/trebHW_ReleaseLib/Treb1.map" --disable_pp -i"C:/ti/ccsv5/tools/compiler/c6000/lib" -i"C:/Workspaces/DSPPlaypen/Trebuchet/Treb1/Treb1/../../Includes" -i"C:/Workspaces/DSPPlaypen/Trebuchet/Treb1/Treb1/../../TI_6424_SOC" -i"C:/Workspaces/DSPPlaypen/Trebuchet/Treb1/Treb1/../../TI_XDAIS_5_21" -i"C:/Workspaces/DSPPlaypen/Trebuchet/Treb1/Treb1/../../GpakApi" -i"C:/Workspaces/DSPPlaypen/Trebuchet/Treb1/Treb1/../../GpakDsp" -i"C:/Workspaces/DSPPlaypen/Trebuchet/Treb1/Treb1/../../GpakDsp/Includes64" -i"C:/ti/ccsv5/tools/compiler/c6000/include" -i"C:/ti/bios_5_41_11_38/packages/ti/rtdx/lib/c6000" -i"C:/ti/bios_5_41_11_38/packages/ti/bios/lib" -i"C:/Workspaces/DSPPlaypen/Trebuchet/Treb1/Treb1" -i"C:/Workspaces/DSPPlaypen/Trebuchet/Treb1/Treb1/../../Treb1" -i"C:/CCSTUD~1.3/C6000/csl/lib" --reread_libs --priority --rom_model -o "C:/Workspaces/DSPPlaypen/Trebuchet/Treb1/Treb1/../../Treb1/trebHW_ReleaseLib/Treb1.out" $(ORDERED_OBJS)
@echo 'Finished building target: $@'
@echo ' '
$(MAKE) --no-print-directory post-build
All the object files have already been build at the direction subdir_rules.mk file, so by the time the build gets the Tool invocation section of the makefile there is nothing left to build.  The process stops before the linker is invoked because the compiler throws an error reporting ERROR: no source files, nothing to do. How do I get the tools to stop invoking the compiler and only invoke the linker. Thanks
  • Can people see my whole post above or do I need to repost it. It looks like a substantial portion off to the right is cut off.  In any event,  I can link the build manually from the command line after all the objects are compiled, but there has to be a better way to do this.  I am really struggling to figure out how to remove the text that is in bold from the linker invocation command. Any help would be appreciated. 

    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="C:/Workspaces/DSPPlaypen/Trebuchet/Treb1/Treb1/../../Treb1/Treb1.opt"  -mv6400+ -O3 --display_error_number --diag_suppress=827 --verbose_diagnostics --diag_warning=225 --mem_model:data=far --abi=coffabi --obj_directory="C:/Workspaces/DSPPlaypen/Trebuchet/Treb1/Treb1/../../Treb1/trebHW_ReleaseLib" --obj_extension=o64p -z -m"C:/Workspaces/DSPPlaypen/Trebuchet/Treb1/Treb1/../../Treb1/trebHW_ReleaseLib/Treb1.map" -i"C:/ti/ccsv5/tools/compiler/c6000/lib" -i"C:/ti/ccsv5/tools/compiler/c6000/include" -i"C:/Workspaces/DSPPlaypen/Trebuchet/Treb1/Treb1/../../Includes" -i"C:/Workspaces/DSPPlaypen/Trebuchet/Treb1/Treb1/../../TI_6424_SOC" -i"C:/Workspaces/DSPPlaypen/Trebuchet/Treb1/Treb1/../../TI_XDAIS_5_21" -i"C:/Workspaces/DSPPlaypen/Trebuchet/Treb1/Treb1/../../GpakApi" -i"C:/Workspaces/DSPPlaypen/Trebuchet/Treb1/Treb1/../../GpakDsp" -i"C:/Workspaces/DSPPlaypen/Trebuchet/Treb1/Treb1/../../GpakDsp/Includes64" -i"C:/ti/bios_5_41_11_38/packages/ti/rtdx/lib/c6000" -i"C:/ti/bios_5_41_11_38/packages/ti/bios/lib" -i"C:/Workspaces/DSPPlaypen/Trebuchet/Treb1/Treb1" -i"C:/Workspaces/DSPPlaypen/Trebuchet/Treb1/Treb1/../../Treb1" -i"C:/CCSTUD~1.3/C6000/csl/lib" --reread_libs --priority --rom_model -o "C:/Workspaces/DSPPlaypen/Trebuchet/Treb1/Treb1/../../Treb1/trebHW_ReleaseLib/Treb1.out" $(ORDERED_OBJS)

  • Ok, problem solved! I needed to modify Command-line pattern property for the linker.