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.

compiler selection

Hi,

1. Since we can use gcc (ARM) compiler, also we noted that TI website has information that C++11 is not supported, can we instead use GCC to compile C++11 features?

2. Would gcc compiled program run just as well as TI's own compiler? What would be the pros and cons?

3. Can we use gnu's gdb in debugging in CCS?

Dave

  • Dave Smith62 said:
    1. Since we can use gcc (ARM) compiler, also we noted that TI website has information that C++11 is not supported, can we instead use GCC to compile C++11 features?

    Yes.  Though for all the details please see this page.

    Dave Smith62 said:
    2. Would gcc compiled program run just as well as TI's own compiler? What would be the pros and cons?

    The TI compiler does not specifically support ARM CPU cores Cortex-A15 and later.  So, if you are building for one of those CPU cores, then the GCC compiler is very likely to be better.  For CPU cores supported by both compilers ... We have not studied this question, so I can only speculate.  Across a large number of programs, I would be surprised to see a significant difference.  As to any one program, the only way to know for sure is to try it and see.

    Dave Smith62 said:
    3. Can we use gnu's gdb in debugging in CCS?

    I presume you mean can you somehow use gdb from within CCS.  No.

    Thanks and regards,

    -George