I get a project of TMS470MF066 by HAL,then I compile the project by CCS V4,but failed.
the message is "error: --retain=*(.intvecs) not supported when producing TI-COFF output files"
what is the problem?
thank you very much.
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.
I get a project of TMS470MF066 by HAL,then I compile the project by CCS V4,but failed.
the message is "error: --retain=*(.intvecs) not supported when producing TI-COFF output files"
what is the problem?
thank you very much.
Hello,
That is correct: the "--retain" option is only supported when you are trying to generate an ELF file and not a TI COFF file. Can you please check your project build settings to make sure that you use the EABI? Also the rts library file included in the command above is the TI ARM9 ABI. Please change that to rtsv7M3_T_be_eabi.lib
The latest HALCoGen version generates a linker command file that includes the correct options for generating an ELF file using the ARM EABI. Please try this latest HCG version.
Regards, Sunil
Thank you for your answer.
But I still feel confused.It also display the error.
That is the detail below.
related cmd file code by HAL:
-l rtsv7M3_T_be_eabi.lib
--retain="*(.intvecs)"
--retain="*(.vim_table)"
related setting of ccs:
I have selected 'Elf Parser' once,the error still there.
what is the difference between TI-COFF and ELF?which one should I choose?
Tahnks.
Duplicate thread with same question is being worked here: http://e2e.ti.com/support/development_tools/compiler/f/343/t/164040.aspx