[MPlayer-dev-eng] [PATCH]Allow 32bit compilation on 64bit OS

Giacomo Comes comes at naic.edu
Fri Dec 19 22:52:11 CET 2008


On Fri, Dec 19, 2008 at 09:28:12PM +0000, Carl Eugen Hoyos wrote:
> Hi!
> 
> > I compile 32-bit mplayer on suse 11.0 64-bit without any problem in this way:
> >     ./configure --cc="gcc -m32" --as="as --32"
> 
> Neither do I see how this should enable win32 codecs, nor does it work for me:
> ...
> Checking for Win32 codecs ... no
> ...
> (also on SuSE 11.0)

I didn't specify all the other configure options that are also required, sorry.
    --codecsdir=<PATH to the codecs32 dir>
    --with-extralibdir=/lib:/usr/lib:/opt/kde3/lib
    --target=pentium4-linux

I need /opt/kde3/lib because it's the directory that contain libartsc.so.0 32-bit.
--target=pentium4-linux is a bonus. If you don't set the target gcc will compile
for the i386 target. A 64-bit cpu can do more :-).

Giacomo



More information about the MPlayer-dev-eng mailing list