I used the instructions here to install eclipse and the here to create an eclipse project but I suspect the instructions were written for an older version of eclipse. Specifically, there is no Build (Incremental Build): build install EXTRA_CFLAGS+=-g...
in this version of eclipse. I have created the project without the EXTRA_CFLAGS and have been poking around in it looking for a place to add or set them. I see a number of things that look close in Project Properties
but nothing that seems like a match.
It's not all one line item in eclipse...looking at your link it wants you to do something like this:
gcc -g EXTRA_CFLAGS+=-O0 EXTRA_CFLAGS+=-fno-omit-frame-pointer
Let's take that apart:
-g
Default debug level soProject Properties->C/C++ Build->Settings->Tool Settings->Debugging and select Debug Level Default (-g)
-O0
Optimization level soSame tab Optimization None(-O0)
-fno-omit-frame-pointer
soSame tab Miscellaneous Other flags add
-fno-omit-frame-pointer
You may or may not want to remove the other flags, but I wouldn't.
So you check in gcc c compiler and it looks like this
Apply and OK.
Repeat the same(disabling debug completely) for your release build. Done and done.