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.

--relocatable linker option

Hi all,

I am trying to build a project using the --relocatable option, on CCSv5.3. The summary of flags set on the project properties for the C2000 linker is:

-v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 -g --diag_warning=225 -k --asm_listing -z --stack_size=0x300 -m"project.map" --warn_sections -i"C:/User/ccsv5/tools/compiler/c2000_6.1.0/lib" -i"C:/User/ccsv5/tools/compiler/c2000_6.1.0/include" -i"C:/Project/include" --reread_libs --priority --define=CLA_SCRATCHPAD_SIZE=0x100 --xml_link_info="C:/Project/Debug/PProject .xml" --relocatable --entry_point=code_start --rom_model

But the build process stops with the message:

"error: errors encountered during linking; "PEBB1_CellController.out" not built"

And the errors are all of type "program will not fit into", many of those on the F2806x_Headers_nonBIOS.cmd

What is needed to have the -relocatable option working ?

Thank you very much for your attention.