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.

C6000-CGT: rts6600_elf_eh.lib is not generated by the CGT.

Part Number: C6000-CGT

Hi,

I was trying to build a project with the exception handling.

And I was getting the linking error related to IRQ etc.  Even though I was linking libc.a the rts6600_elf_eh.lib is not generated.

I have searched through the e2e community. None of the solutions from e2e fixed the issue yet.

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/487329/automatic-library-build-of-rts6600_elf_mt_eh-lib-fails-for-ti-cgt-c6000_8-1-0

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/694994/ccs-am5728-automatic-library-build-of-rts6600_elf_eh-lib-fails-for-ti-cgt-c6000_8-1-0

I have tried to generate with the mklib, but no success yet.

 

Can you help us here to fix the issue with CCS-CGT?

 

CCSv10 with ti-cgt-c6000_8.3.10 used.

 

Thanks and Regards,

Jeevarathnam Kuppusamy.

  • For documentation on how the linker automatically builds missing RTS libraries, please search the C6000 compiler manual for the sub-chapter titled Library-Build Process.

    Some further tips ....  Be sure the programs gmake, unzip, and sh are not in your executables PATH.  Set the environment variable CCS_UTILS_DIR to something similar to ...

    C:\work>set CCS_UTILS_DIR=C:\ti\ccs1031\ccs\utils

    Be sure the compiler \bin directory is in your executables PATH.  

    Try to build the project again.  If it doesn't work, then follow the directions in the compiler manual sub-chapter titled Invoking mklib Manually.

    Please let me know if these suggestions resolve the problem.

    Thanks and regards,

    -George

  • Hi George,

    Thanks for the reply.

    Still the CCS doesn't build it automatically, don't know why.
    But additionally adding compiler\*cgt*\bin to PATH solved the problem of manually building. Now I could build it manually.
    But the problem is that it has to be build for every tool version update :-(

    But still I get the undefined error for __disable_irq and __enable_irq.
    Not sure if the manuall build is fine.

    Regards,
    Jeeva

  • I get the undefined error for __disable_irq and __enable_irq

    Those functions do not come from the compiler RTS library.  I don't know which library supplies them. 

    In the RTS library name rts6600_elf_eh.lib the eh stands for exception handling.  This a reference to C++ exceptions, and not any sort of hardware exceptions supported by the CPU.

    Thanks and regards,

    -George