Hello,
--abi=eabi compiler option created predefined MACRO
_ _TI_EABI_SUPPORT_ _ What is the corresponding predefined MACRO for --abi=tiabi option in the TMS470 Compiler? Thank you. Regards Pashan
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.
Hello,
--abi=eabi compiler option created predefined MACRO
_ _TI_EABI_SUPPORT_ _ What is the corresponding predefined MACRO for --abi=tiabi option in the TMS470 Compiler? Thank you. Regards Pashan
There is no specific macro for the case of --abi=tiabi. I believe the absence of a definition for __TI_EABI_SUPPORT__ (or its more modern equivalent __TI_EABI__) should be used. However, that does not distinguish between --abi=tiabi and --abi=ti_arm9_abi.
As an aside, note that you can see the list of predefined macros for a given set of options by compiling a null program, for example null.c containing "void null(void) { }", and adding the -ppm option. The resulting .pp file (null.pp in this case) will list the predefined macros.