[FFmpeg-devel] [PATCH] Source level debug
Panagiotis Issaris
takis.issaris
Mon Mar 3 14:03:05 CET 2008
Benjamin Larsson schreef:
> Rich Felker wrote:
>> [...]
>>
>>> I would, however, prefer the level being an
>>> argument to --enable-debug rather than a whole new flag.
>>>
>> I agree. I'd also like it if --disable-debug were the default, but I
>> doubt others will be happy with that..
>>
>> Rich
>>
>
> I prefer that FFmpeg is compiled default with -g. It makes it easy for
> people to submit bug reports without recompiling FFmpeg. And I also
> support the use of an argument to --enable-debug instead of the proposed
> patch. And all compilers might not have -g levels. So I'll try to submit
> a patch adding argument handling.
I've noticed that some projects (or was it distros) put the debugging
symbols in a separate file, so there's no duplication of executable
code. So, no ffmpeg_g en ffmpeg, but just one ffmpeg and a ffmpeg.dbg
file containing only the debugging symbols. I've never used it myself
like that, but I like the idea.
--
With friendly regards,
Takis
--
vCard: http://issaris.org/pi.vcf
PGP key: http://issaris.org/pi.key
More information about the ffmpeg-devel
mailing list