Reducing optimisation
- From: Paul Phillips <paul gs phillips gmail com>
- To: planner-dev-list gnome org
- Subject: Reducing optimisation
- Date: Mon, 17 Oct 2011 09:12:07 +1030
Hi there,
Apologies for the novice-level question, but I'm in the process of implementing 408929...
I'm using Eclipse-CDT for development - I haven't used it for C/C++ dev before.
While debugging, some variables come up as "value optimised away". I thought that I could fix this by editing the auto generated makefile and remove the "-O2" from CFLAGS, but this does not appear to have fixed it. I did a clean & rebuild. I seem to recall a command to run on the executable to find out if it's optimised, but I can't remember this.
I'd also love to hear if it is possible to override this setting within Eclipse without modifying the Makefile. I didn't find anything from quick googling.
Thanks in advance,
Paul.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]