How do you set optimization/debugging flags in Eclipse CDT, set up uses GNU tool-chain ??
Thanks !
You can also go to Project Properties -> C/C++ Build -> Settings -> Tool Settings. Click on the triangle next to your compiler to see the drop down menu -> click on Optimization. On the right hand side next to Optimization Level choose from the drop down menu your desired level. (Be aware though that once you set optimization level up from None (-O0) you will experience issues when debugging... values not available, skipping of breakpoints etc.) Hope this helps!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With