[MPlayer-users] Compile as 32-bit under X86_64?

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Jan 23 10:28:47 CET 2005

On Thu, Jan 20, 2005 at 02:15:41PM -0800, Seth Brundle wrote:
> OK, I was pretty excited about running mplayer on my Dual Opteron Suse 9.1 server until I found out that 64-bit mplayer does not work with the 32-bit codec package. Grrr...
> Thats OK, but I was wondering *how* to force a 32-bit compile with mplayer on an x86_64 system - there seems to be no CFLAGS option for configure, and target= doesnt seem to accept anything I throw at it - x86, linux32 i386, i486, etc...

export CFLAGS=-O4 -march=athlon-xp -mtune=athlon-xp -pipe -ffast-math -fomit-frame-pointer -m32

The only important part is -m32 here. If -mtune doesn't work with your
compiler, use -mcpu instead.

Reimar Döffinger

More information about the MPlayer-users mailing list