I have a simple question about Eclipse CDT and GNU GCC compiler.
The application is compiled in
- Debug mode, i.e., Optimization = None(-O0), Debugging = Maximum(-g3), versus application compiled in
- Optimized mode, i.e., Optimization = Maximum(-O3), Debugging = None.
Apart from the performance difference, is it guaranteed that the application compiled in these 2 mode generates the exactly same results?
I am about to release the application to the end-users, the application is server based, it handles several multicast data feeds. Can anyone offer some advice on which compilation mode I should choose for the final release to its end-users.
Thanks.