[PD-dev] call for discussion double-precision file extension

Christof Ressi info at christofressi.com
Wed Mar 30 17:44:23 CEST 2022


On 30.03.2022 17:40, IOhannes m zmoelnig wrote:
>
> On 3/30/22 17:21, Christof Ressi wrote:
>>> but i don't really see how it would help with fat binaries. 
>> Two solutions that come to my mind:
>>
>> 1) just use an ugly folder name:
>>
>> foo.pd/darwin-amd64-32.darwin-arm64-32/foo.dylib
>
> the problem with this is, that it is not well-defined.
>
> currently we calculate a few variants of possible names based on a 
> reference string ("darwin-arm64-32") and try to open files according 
> to these names.
>
> but we cannot possible foresee all the possible variants; even if we 
> limit ourselves to 4 architectures, we get about 40 possible variants 
> (for any 1 architecture)

I see. What about the second idea?

> 2) use a special specifier for universal binaries:
>
> foo.pd/darwin-universal-32/foo.dylib 






More information about the Pd-dev mailing list