Hi Champ,
We can't use compiler switch statement #if 1 ..... #end in .cmd if using CGT v3.0.7.
Is there any other method to implement kind of compiler switch statement in .cmd if customer MUST use CGT v3.0.7 please?
Luke
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.
Luke Chen said:Is there any other method to implement kind of compiler switch statement in .cmd if customer MUST use CGT v3.0.7 please?
Unfortunately, no. Compiler version 3.07 is over 12 years old. Support for preprocessing (handling #if and so on) in linker command files was introduced only 2-3 years ago.
Thanks and regards,
-George