[vlc-devel] commit: Atomic builtins are from in GCC 4.1.0 onward. ( Rémi Denis-Courmont )

Felix Paul Kühne fkuehne.videolan at googlemail.com
Sun Sep 21 21:17:15 CEST 2008


Am 21.09.2008 um 20:43 schrieb Rémi Denis-Courmont:

> Le dimanche 21 septembre 2008 21:15:22 git version control, vous  
> avez écrit :
>> vlc | branch: master | Rémi Denis-Courmont  
>> <rdenis at simphalempin.com> | Sun
>> Sep 21 21:14:35 2008 +0300|  
>> [1c6ba8c00bc7d76ec7ff12a6905b21c40e3b4fe4] |
>> committer: Rémi Denis-Courmont
>>
>> Atomic builtins are from in GCC 4.1.0 onward.
>>
>> We definitely don't want to use the slow mutex or risky spin locks,
>> unless we have to.
>
> Conversely, you should really have gcc 4.1, and a non-prehistoric  
> platform (at
> least 486 if using Intels), or Windows, or OSX.

Just a side note:
Mac OS X 10.4, the currently oldest supported release by VLC 0.9.x,  
requires code compiled by GCC 4.0.1. GCC 4.2 is only supported for  
10.5 and the forthcoming 10.6. As 10.4 is still widely used in the Mac  
community, I wouldn't like to drop support for it any time soon (at  
least not until 10.6 is officially released next summer).

Obviously, your patch still compiles nicely using the 10.4u SDK :-)

Best,

Felix


More information about the vlc-devel mailing list