[vlc-devel] commit: Use --arch=i686 when building ffmpeg for windows ( Rafaël Carré )

Rafaël Carré funman at videolan.org
Tue Mar 4 20:36:21 CET 2008


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

Remi Denis-Courmont a écrit :
> On Tue,  4 Mar 2008 16:22:00 +0100 (CET), git at videolan.org (git version
> control) wrote: -
>> vlc | branch: master | Rafaël Carré <funman at videolan.org> | Tue Mar  4
>> 16:13:16 2008 +0100| [8bc7f50322158fc6582883588ca08daf7331ce36]
>>
>> Use --arch=i686 when building ffmpeg for windows
>> Fix cross compilation from 64bits host
> 
> There is a major difference between -mcpu and -march. -mcpu is for tuning
> (optimization). -march is a minimum requirement.
> 
> Hence this change makes VLC-win32 unusable on 486 and first-gen Pentiums.
> Considering that we barely support Win98, and that these boxes typically
> run Win95, I do not disagree with the change - but I hope it is well
> understood. If this is not intended, you may prefer to use -mtune. That is
> the new name for -mcpu with not-so-old GCC.

I thought that --cpu=i686 would generate binaries not running on i586,
where I was wrong.

There is something else to consider : these boxes have enough CPU to
decode 15x12 videos, so we might consider that i586 support is dead &
buried.

Thanks for your review.

> Note that -march=i686 implies -mcpu=i686, so the older option is pretty
> useless now.
> 

Will remove that if no pentium zealot comes against.


- --
Rafaël Carré
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkfNpLUACgkQYWCeGMCv8Q/CZgCeNJ+HL9jvsG7it5M6HG10ib/O
M5EAn2+M8v7DBfzdg0er8INZln1/v9yS
=m0Nt
-----END PGP SIGNATURE-----



More information about the vlc-devel mailing list