[PD] fat binaries or not, on OSX (was: 'Pd 64 bits' for OSX is i386 + ppc)

katja katjavetter at gmail.com
Sun Dec 20 23:04:39 CET 2015


On Tue, Dec 15, 2015 at 1:00 PM, IOhannes m zmoelnig <zmoelnig at iem.at> wrote:
> On 2015-12-15 11:07, katja wrote:
>> This looks good, thanks for proving me wrong. Which OSX version is
>> this? I've had troubles with denormals in fat binaries in the past
>> (OSX 10.5). It turned out that the preprocessor didn't pass
>> architecture defines when preprocessing for multiple architectures.
>
> tested on both 10.6 and 10.9
>
> $ sw_vers
> ProductName:    Mac OS X
> ProductVersion: 10.6.8
> BuildVersion:   10K549
> $ cc --version
> i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
>
> resp.
>
> $ sw_vers
> ProductName:    Mac OS X
> ProductVersion: 10.9.5
> BuildVersion:   13F34
> $ cat vers.txt
> Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
> Target: x86_64-apple-darwin13.4.0
> Thread model: posix
>

Today I could test the same on OSX 10.5 with Xcode 3.1.4 installed and
it seems to work fine here as well (__i386__ resp. __x86_64__ defined
in the case of fat binaries).

$ sw_vers
ProductName:    Mac OS X
ProductVersion:    10.5.8
BuildVersion:    9L31a

$ cc --version
i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493)

Only thing I can't test now is with gcc < 4 but so far my 'issue'
couldn't be reproduced, fortunately.



More information about the Pd-list mailing list