Tool/software: TI C/C++ Compiler
I would like to determine in compile time what ARM architecture is code being compiled for, as controlled by -mv switch.
With newer cl470 (such as 4.9 version) there are predefined macros available (e.g. __TI_ TMS470_V6__) but these are absent with the older v4.1 version.
Is there a way to achieve conditional compilation for different arm architectures (4, 5e, 6, ...) with cl470 v4.1, or it is a lost case?
Unfortunately, for the time being, compiler upgrade is out of question.
Thank you.