[MPlayer-users] gcc3 compile problems on k6

Richard Barrington rich_b_nz at xtra.co.nz
Mon Oct 15 13:57:10 CEST 2001

hey all.

tried to compile mplayer 5.0 on my Linux-Mandrake 8.0 box, and
./configure said it didn't like gcc v 2.96. so i dutifully downloaded
3.0.1 from gnu, and found that i was getting the compiler errors that
other folks on this list have had.

seems to be a gcc 3 vs k6 (dunno about k7) problem. what worked for me
was this:

export CFLAGS="-march=i586 -mcpu=i586 -O2"
./configure --enable-mmx --enable-3dnow --enable-x11 --prefix=/usr
make install

maybe higher optimisations will work? change the prefix and other
options to suit your set-up. 

so you get the 3d-now stuff, but it compiles with pentium optimisation
rather than k6. maybe not quite as good as k6, but at least it runs,

hope this helps some.


More information about the MPlayer-users mailing list