Hi,
I'm trying to detect TI Compilers and platform properties at compile time.
Things like language, endianness, architecture (32bits), compiler, etc.
I have 2 problems:
1. Even if I'm compiling with the C compiler (using the --c11 flag), the __cplusplus symbol is still defined which breaks all detection logic.
How can I detect if I'm using C or C++ with the TI compiler?
2. It appears __BYTE_ORDER__ and __BYTE_ORDER are not defined by the compiler.
How can I detect endianness at compile time?
Here's more info about my compiler:
Best regards,
Gabriel