Re: Mandatory -dbg packages for libraries?
* Neil Williams:
> Apart from those limitations, is there a *technical* reason why -dbg
> packages should not be available?
GCC's debugging information at -O2 will continue to worsen (in part as
a result of -O2 getting better). Hence, -dbg libraries would need to
be compiled with different optimization settings in some cases. It
might not a good idea to feature them prominently because they might
behave differently in corner cases. And compiling everything with
something close to -O1 isn't acceptable, either.
For our internal libraries at work, we simply compile with -g and do
not strip the binaries, but program-related disk space is not an issue
we face.
Reply to: