Hi, I use the latest Simplcity Studio with gcc and g++ and I can't figure out how to remove the -g flag from the compiler command line. Could someone please help? Thanks, Timur
The -g flag sets the debug level to the default setting. You can find the debug options under Project > Properties > C/C++ Build > Settings > Debug Settings. In that page, you can select None for the debug level and that will remove the -g flag.
Thank you @wicollin!
I was looking for it at the wrong place (Project > Properties > C/C++ Build > Settings -> GNU ARM C compiler -> Debugging).