Re: Does -Og work well?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2021-10-11 at 19:15 +0000, Nick Savoiu wrote:
> Hmm, but if I need all these workarounds, the promise of -Og is
> unfulfilled.

I think there is no way to produce a "fast and debuggable" binary unless
there is some major progress on computer architectures.

If you are working on a serious software project, you should implement
and/or use a logging facility for debugging, instead of solely relying
on the debugger.

For one-file programs (for e.g. in competitions) -O0 -g is usually
enough for debugging.
-- 
Xi Ruoyao <xry111@xxxxxxxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux