[MPlayer-users] Re: libavcodec (mplayer-current) fails to compile with no optimizations

D Richard Felker III dalias at aerifal.cx
Mon Dec 6 08:08:18 CET 2004


On Mon, Dec 06, 2004 at 01:46:19AM -0500, Nilmoni Deb wrote:
> 
> Yes, there is a point. I was debugging the program in relation to a crash.
> Unfortunately, gdb was not being able to give enough info so I thought
> disabling all optimizations might help. In other words, the dislcaimer in
> configure does not help my case.

turning off optimization does not help debugging. this is a micro$oft
myth. you should just use --enable-debug to turn on -g and turn off
-fomit-frame-pointer and you'll get a build that's suitable for
debugging.

> As for disabling asm, I did put an ifdef and disable it only to get errors
> elsewhere. Do you know of a clean way of doing it (say, in config.mak) ?

--disable-mmx or something. but this isn't a good idea.

rich




More information about the MPlayer-users mailing list