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.
The CGT 7.0.2 come with an implementation of the "C Standard Library" which are placed in the "Run-Time Support Library". The "TMS320C6000 Optimizing Compiler v 7.0 User's Guide" (SPRU187Q) gives the impression that the library implementation is based on the standard ISO/IEC 9899:1990 (or synonymously "C90" or ANSI X3.159-1989 or ANSI-C or "C89"). Pages 138 and 215/216 gave me this impression.
Yet, having a look at the Run-Time Support Library's header files and source files gives the impression that the Run-Time Support Library supports C99. You can find implementations for header files such as stdint.h and iso646.h, which have not been available in the C90 standard.
Generally, this is an important topic, because some useful things have been added to the C Standard Library with C99, such as the exp2() and acosh()/asinh()/atanh() subroutines in math.h.
Can someone say a few words about Run-Time Support Library's compatibility with C99's C Standard Library?
Thanks,
Jerry
P.S.: http://processors.wiki.ti.com/index.php/TI_Compilers_and_Industry_Standards does not handle this topic yet.
The compiler supports the C89 standard of the C language. It does not support the C99 standard because there are some C99 features that would require some significant overhaul of the compiler. Some C99 functions that were easy to support without changing the compiler were implemented, and should be considered compiler extensions as long as the compiler only supports C89. There is at present no concerted effort to add C99 features.
iso646.h is from the so-called C95, which is actually C89 + Normative Addendum 1.
More detail is here http://processors.wiki.ti.com/index.php/TI_Compilers_and_Industry_Standards .
Thanks and regards,
-George
Although the TI compilers do not support the full C99 standard some language features incorporated in the C99 standard are supported. There is now a wiki article (http://processors.wiki.ti.com/index.php/C99_Extensions_in_TI_Compilers) describing C99 lanuage features that are available in TI compilers.