[openal] Questioning about linking to OS X 10.4 SDK

Chris Robinson chris.kcat at gmail.com
Wed Nov 5 19:21:27 EST 2014

On 11/05/2014 12:35 PM, Lubo Diakov wrote:
> Since you mention C11 for openal-soft version 1.16 (and newer?) does
> it also require newer versions of gcc?

It shouldn't. OpenAL Soft only makes optional use of C11 when it's 
available, but provides fallbacks for when not. For the atomic functions 
in particular, the GCC intrinsics path checks for gcc 4.1 or newer:

#elif defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && 
__GNUC_MINOR__ >= 1)) && !defined(__QNXNTO__)

and then the inline assembly path checks for any gcc on an x86 or x86_64 

#elif defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))

so gcc 4.2 should be good there (even for PPC targets, if that's what 
you're building for).

> I suspect so, as this 10.5 has
> nothing newer than gcc 4.2 and the build halts.

Where does the build halt, and with what error? If it's saying no atomic 
functions are available on the platform, can you check to see what 
__GNUC__ and __GNUC_MINOR__ are defined to?

More information about the openal mailing list