[MPlayer-users] compilation time
D Richard Felker III
dalias at aerifal.cx
Fri Aug 23 08:14:01 CEST 2002
On Fri, Aug 23, 2002 at 08:05:59AM +0200, Arpi wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> > > just checked, i have no win32 dlls on teh notebook so the whole loader/dshow
> > > code was disabled. it probably save big amount of time...
> > without gui, without win32-dll it saves me ~ 1 minute, so it takes about
> > 4min.
> > but i compiled it with gcc-3.2, is it matter?
> gcc 3 is much slower than 2.95. results few % faster binary in 1.5 times
> longer comp. time...
> also the target cpu may matter...
> > with this:
> > ./configure --cc=gcc-3.2 --disable-win32 --disable-xanim --disable-real
> > --disable-mencoder --disable-libfame --disable-png --disable-jpeg
> > --disable-vesa
> > it compiles now in 3 minutes, but it is still a lot. how can i save more
> > time?
> replace -O4 by -O2, it makes around 3 times faster compile but slower result
> :) but with so many --disable it's already unusable so it doesn't matter :)
I --disable a lot more than that (except I don't disable mencoder,
it's a must :). If you really want a fast and useless compile try -O0!
More information about the MPlayer-users