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.
Tool/software: TI C/C++ Compiler
Hello,
I am using ti-cgt-arm_18.1.1.LTS compiler for compiling TMS570LS3137 code and while going through Compiler document "SPNU151r" i need few details related below listed questions:
1. "--trampolines[=off|on]" what is this compiler option is for and what is the default value if this flag is not mentioned.
2. I couldn't find details of many compiler options default value if the respective flag is not used. can you please help me find these details?
Thanks,
Kalyan
Kalyan Vagvala61 said:1. "--trampolines[=off|on]" what is this compiler option is for
Please search the ARM assembly tools manual for the sub-chapter titled Generate Far Call Trampolines.
Kalyan Vagvala61 said:and what is the default value if this flag is not mentioned.
on
Kalyan Vagvala61 said:2. I couldn't find details of many compiler options default value if the respective flag is not used. can you please help me find these details?
Generally speaking, the default behavior is the opposite of whatever the option is documented to do. Feel free to ask questions about specific options.
All that said, you have raised a good point. So, I filed the entry CODEGEN-6103 in the SDOWP system. It does not report a bug, but requests a change in the compiler. Add an option which shows all the compiler default settings. You are welcome to follow this entry with the SDOWP link below in my signature.
Thanks and regards,
-George
Thanks George.
As we are using "ti-cgt-arm_18.1.1.LTS" compiler, I am referring spnu151r document.
Can you please let us know what the default value is, for below listed compiler options if they are not used:
--trampolines[=off|on]
--compress_dwarf[=off|on]
--cinit_hold_wdt={on|off}
--unhide=pattern
--extern_c_can_throw
--float_operations_allowed={none|all|32|64}
Thanks,
Kalyan
Kalyan Vagvala61 said:--trampolines[=off|on]
on
Kalyan Vagvala61 said:--compress_dwarf[=off|on]
off
Kalyan Vagvala61 said:--cinit_hold_wdt={on|off}
off
Kalyan Vagvala61 said:--unhide=pattern
If no symbols are affected by using --hide=pattern, then this option is not needed, and does nothing.
Kalyan Vagvala61 said:--extern_c_can_throw
Exceptions do not propagate through extern "C" functions
Kalyan Vagvala61 said:--float_operations_allowed={none|all|32|64}
all
You can get more information about an option using the -h option of the shell command armcl. For example ...
% armcl -h --extern_c_can_throw --extern_c_can_throw This option is only supported under EABI for table-driven exception handling (TDEH). This option is valid only when `--exceptions` is also present. This option allows a function defined in C++ with extern `C` linkage to propagate exceptions.
Thanks and regards,
-George