Part Number: TMS320C6654
Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI C/C++ Compiler
Hi,
My project is running on TMS320C6654 with sysbios 6.76.02.02, xdctools 3.51.03.28 and linux cgt 8.3.5 in command line.
I want to also be able to compile my project under windows with code composer. I use same version of compiler and I've check that compilation options are equals
My project compile under windows but is not functionnal.
I discover that windows output binary is smaller than linux one due to 2 functions missing in mapping
My global optimisation is -o3, but if I add #pragma FUNCTION_OPTIONS ("--opt_level=0") on those missing functions, they appear in map file.
I also have this issue with a constructor that only have initialization list (no code inside). I need to add code in the constructor to see it appear in map file.
With these modifications, I get a binary with correct size and functionnal.
How to explain this function disappear due to optimisation level?
How to solve this issue globally without adding this pragma?
Thanks