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

Kevin DeKorte kdekorte at gmail.com
Sat Dec 20 05:30:15 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Reimar Döffinger wrote:
> On Fri, Dec 19, 2008 at 05:52:11PM -0400, Giacomo Comes wrote:
>> --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 :-).
> 
> I am fairly sure that without --target it will compile for x86_64 which
> obviously will fail with a 32 bit toolchain (or if you're "lucky" it
> will compile without any assembler optimizations).

I use this configure statement to compile SVN in 32bit mode on a 64bit box.

./configure --target=i386-linux --cc="gcc -m32" --as="as --32"
- --with-extralibdir=/usr/lib  --prefix=/usr --disable-dvdread-internal
- --disable-nemesi

Kevin


- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAklMdNcACgkQ6w2kMH0L1dGrogCeOOrc+LHBSjlVoYaILKYitpDl
YoIAn3dOwYgzOzt/2LDRkP5+ubUaWt9u
=cqtM
-----END PGP SIGNATURE-----



More information about the MPlayer-dev-eng mailing list