[MPlayer-users] Building MPlayer Fails

Guillaume POIRIER poirierg at gmail.com
Fri Jun 16 11:02:18 CEST 2006


Hi,

On 6/16/06, Christian Ebert <blacktrash at gmx.net> wrote:
> * Christian Ebert on Friday, June 16, 2006 at 09:05:48 +0200:
> > * Alexander Strange on Friday, June 16, 2006 at 02:15:16 -0400:
> >> PS there's no such thing as -O4! It only goes up to 3! I see stuff
> >> like -O20 in builds sometimes and it's totally ridiculous.
> >
> > Hm. This is done by mplayer's configure itself. On MacOS 10.3.9
> > with CFLAGS= ./configure I get:
> >
> > $ grep --count -- '-O4' /usr/local/src/mplayer/configure.log
> > 165
>
> Oh, and:
>
> $ grep -n -C -- '-O4' /usr/local/src/mplayer/configure
> 1527-  _stripbinaries=no
> 1528-elif test -z "$CFLAGS" ; then
> 1529:    CFLAGS="-O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer"
> 1530-else
> 1531-  _warn_CFLAGS=yes
> --
> 5783-  _faac=no
> 5784-  for _ld_tmp in "-lfaac" "-lfaac -lmp4v2 -lstdc++" ; do
> 5785:    cc_check -c -O4 $_ld_tmp $_ld_lm && _ld_faac="$_ld_tmp" && _faac=yes && break
> 5786-  done
> 5787-fi

I'm all for s/-O4/O3/g since O4 doesn't exist, and other compiles such
as icc get confused by O4....

Guillaume
-- 
"Success consists of going from failure to failure without loss of enthusiasm."
 -- Winston Churchill



More information about the MPlayer-users mailing list