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.
Tool/software: TI C/C++ Compiler
Hi,
I am trying to upgrade to C6000 compiler v7.4, however, I noticed that the binary output by the linker is a COFF2 file. Our legacy code expects a COFF1 file. Is there a way I could force the compiler to generate a COFF1 file. I already tried the linker option -v1.
Thanks very much.
Regards,
Shaunak
Shaunak Shilimkan said:Is there a way I could force the compiler to generate a COFF1 file.
Unfortunately, no.
Shaunak Shilimkan said:Our legacy code expects a COFF1 file.
So, you have some tool that reads the output of the linker, and it expects COFF1?
Thanks and regards,
-George
Hi George,
Yes we have a tool that copies .text, .data etc sections in the SDRAM. This runs before c_init00 and then branches control to c_init00. It is like a bootstraper.
Regards,
Shaunak
COFF2 was introduced some 15-20 years ago. At this point, unfortunately, your choices are to keep using the old compiler, or update your bootstrap like tool.
Thanks and regards,
-George