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.

CppuTest for c674



Hello,

I am using Code Composer Studio v5.2 and I have CppuTest running with default CPP_PLATFORM Gcc. if possible, how do I make my CppuTest project to build using c674x compiler so that I can build my code with TI intrinsic function. The problem I have with CppuTest and Gcc, it complains errors when I build codes with target specific instructions.

Thanks!

Syazani

  • Hi Syazani,

    Thanks for your post.

     TI compilers can accept some GCC language extensions but not all are specified by GCC as being included in C++.  Please find the list of supported GCC language extensions in the below wiki article. Mostly, Usually, in the initial releases, the GCC extensions are not supported for C++ by TI compilers.

    http://processors.wiki.ti.com/index.php/GCC_Extensions_in_TI_Compilers#Enabling_GCC_Language_Extensions

    Also, please refer the Optimizing C/C++ Compiler User’s Guide for the specified target entitling GNU C Compiler Extensions which lists the supported extensions. Actually, there is a macro named __TI_GNU_ATTRIBUTE_SUPPORT__ needs to be defined if GCC extensions are enabled (the --gcc option is used). Please refer Table 2-37 for the above macro in the compiler's user guide below and also refer Table 6-4 in Section 6.15 for the available & supported GCC language extensions:

    http://www.ti.com/lit/ug/spru187u/spru187u.pdf

    From the above guide, please check for the availability/support of gcc extensions with reference to your CppuTest project and its usage of specified target instructions.

    Thanks & regards,

    Sivaraj K

    ------------------------------------------------------------------------------------------------------- 
    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------

     

  • Hi Sivaraj,

    Thank you for the information. This is useful information. Are there plans to include more GCC extensions like code coverage etc for TI compilers?

    Regards,

    Syazani