[MPlayer-users] Generic ppc compilation of mplayer on iMac G4

Laurent ETTOUATI laurent.ettouati at free.fr
Sun Jun 22 23:48:03 CEST 2008


Hello,

Le 22/06/08 21:44, « Guillaume POIRIER » <poirierg at gmail.com> a écrit :
>Hello,
>
>On Sat, Jun 21, 2008 at 5:27 PM, Laurent ETTOUATI
><laurent.ettouati at free.fr> wrote:
>> Le 14/06/08 20:27, « Laurent ETTOUATI » <laurent.ettouati at free.fr> a écrit :
>>
>>> Until now I compiled without problem mplayer from svn (SVN-r26320 was the
>>> last one) on my iMac G4 with ./configure --disable-x11 --disable-gl
>>> --disable-mencoder --disable-freetype --disable-fontconfig
>>> I got "ppc" with "lipo -info my_mplayer_build"
>>>
>>> Recently, I compiled successfully from svn-r27056. However, I got "ppc7450"
>>> with lipo.
>>>
>> ....
>>> Is it possible to compile a generic ppc build now and how to do that ??
>>>
>>> Laurent
>>>
>>
>> As my first post was not answered, I would reformulate it.
>> Is a G4-ppc7450 mplayer build could run on a G5 or G3 platform? Obviously, I
>> am unable to check.
>
>In theory, you can just compile your MPlayer binary with standard
>configure switches, and it will work everywhere since all AltiVec code
>is enabled in run-time only if the underlying CPU support it.
>In practice, the compiler may be smart enough to add some altivec code
>all by itself where it feels like it would be profitable. This would
>lead to runtime crashes on a G3.
>On a G5, a binary build for G4 would obviously work since G5 ensures
>backward compability.

Thanks for the explanations. It is clear now in my mind!!

Laurent





More information about the MPlayer-users mailing list