[FFmpeg-devel] [PATCH] Source level debug
Uoti Urpala
uoti.urpala
Mon Mar 3 03:36:31 CET 2008
On Mon, 2008-03-03 at 03:01 +0100, Diego Biurrun wrote:
> I think Mans is talking about always using -g3 in debug mode instead of
> having two different debug modes.
Isn't compilation with debug enabled by default in FFmpeg? So the "debug
mode" is what you get if you don't remember to explicitly disable it.
The -g switches do use a lot more space. Here are examples with
mplayer.c:
-O3 : 109 kB
-g : 207 kB
-g3 : 539 kB
So at least in this case using -g3 increases .o size to over five times
what it's without debugging symbols.
More information about the ffmpeg-devel
mailing list