Hi All,
I am using CCS 5.3 with compiler v7.4.1 on Windows 7 professional.
Please let me know how to use/enable -ar option explained in Compiler version 7.4 user guide in CCS 5.3
I tried enabling both -a and -r options in advanced linking options, but i got error saying it is not supported while producing elf output files.
Copying the snippet from compiler user guide
7.4.2. Relocation Capabilities (--absolute_exe and --relocatable Options)
The linker performs relocation, which is the process of adjusting all references to a symbol when the symbol's address changes. The linker supports two options (--absolute_exe and --relocatable) that allow you to produce an absolute or a relocatable output module. The linker also supports a third option (-ar) that allows you to produce an executable, relocatable output module.
When the linker encounters a file that contains no relocation or symbol table information, it issues a warning message (but continues executing). Relinking an absolute file can be successful only if each input file contains no information that needs to be relocated (that is, each file has no unresolved references and is bound to the same virtual address that it was bound to when the linker created it).
Thanks in advance,
Sandeep M