[PD-dev] Macs to transition to ARM processors

Dan Wilcox danomatika at gmail.com
Mon Jul 13 12:43:55 CEST 2020


It looks like the fat format basically stays the same with the addition of the new architecture. Someone has already succeeded in making a Arm+Intel+PPC fat binary:

https://www.macrumors.com/2020/07/11/arm-intel-powerpc-universal/ <https://www.macrumors.com/2020/07/11/arm-intel-powerpc-universal/>

> On Jun 23, 2020, at 5:43 AM, Miller Puckette <msp at ucsd.edu> wrote:
> 
> Hi Dan and others -
> 
> The "fat" binary format itself might not have to be changed to allow another
> architecture to be added, but knowing Apple they might well change the file
> format anyhow just to force some more upgrades.  But regardless it will be
> necessary to recompile all externs (and Pd itself) to add the arm arcitecture.
> I doubt I'll be able to do that on my old Mac.  It might be time I investigated
> whether cross-compiling from linux is at all feasible.
> 
> cheers
> Miller
> 
> On Mon, Jun 22, 2020 at 11:24:04PM +0200, Dan Wilcox wrote:
>> Howdy all,
>> 
>> Apple announced today that it will transition from Intel to its own Arm processors. What this will bring is:
>> 
>> * Universal 2: x86_64 & arm fat binaries
>> * Rosetta 2: emulation layer from x86_64 to arm
>> 
>> For Pd, this means that current binaries will most likely *run* but who knows how the performance will be good for realtime DSP. OTOH, they did demo a game and some virtualization support so it seems they have focused on making things run as well as they can.
>> 
>> Building Pd itself for macOS arm should be relatively easy, just a different arch target. For externals, this would may require an additional fat lib type, perhaps dfat_2? Note, I believe the distinction will be important for us since we still have "Universal 1" builds. As with the Pd core, updating pd-lib-builder should also be relatively easy by adding the new arch targets, depending on what they are.
>> 
>> For deken, this means recompiling and uploading the new fat type.
>> 
>> I don't imagine it will be possible to have a "fatter lib" which supports ppc, x86, x86_64, & arm. I believe the writing is on the wall for the eventual need for a build system newer then OS X 10.6.
>> 
>> --------
>> Dan Wilcox
>> @danomatika <https://urldefense.com/v3/__http://twitter.com/danomatika__;!!Mih3wA!V8X7SpmssWAD6eANe3F_3fQH7pHBkQ_8gyeJSAE6yMjWL2dFHe-3_ZpPEFz4$ <https://urldefense.com/v3/__http://twitter.com/danomatika__;!!Mih3wA!V8X7SpmssWAD6eANe3F_3fQH7pHBkQ_8gyeJSAE6yMjWL2dFHe-3_ZpPEFz4$> >
>> danomatika.com <http://danomatika.com/><https://urldefense.com/v3/__http://danomatika.com/__;!!Mih3wA!V8X7SpmssWAD6eANe3F_3fQH7pHBkQ_8gyeJSAE6yMjWL2dFHe-3_Q6Jispv$ <https://urldefense.com/v3/__http://danomatika.com/__;!!Mih3wA!V8X7SpmssWAD6eANe3F_3fQH7pHBkQ_8gyeJSAE6yMjWL2dFHe-3_Q6Jispv$> >
>> robotcowboy.com <http://robotcowboy.com/><https://urldefense.com/v3/__http://robotcowboy.com/__;!!Mih3wA!V8X7SpmssWAD6eANe3F_3fQH7pHBkQ_8gyeJSAE6yMjWL2dFHe-3_YuGSoHi$ <https://urldefense.com/v3/__http://robotcowboy.com/__;!!Mih3wA!V8X7SpmssWAD6eANe3F_3fQH7pHBkQ_8gyeJSAE6yMjWL2dFHe-3_YuGSoHi$> >
>> 
>> 
>> 
> 
>> _______________________________________________
>> Pd-dev mailing list
>> Pd-dev at lists.iem.at <mailto:Pd-dev at lists.iem.at>
>> https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-dev__;!!Mih3wA!V8X7SpmssWAD6eANe3F_3fQH7pHBkQ_8gyeJSAE6yMjWL2dFHe-3_Z11NUwg$ <https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-dev__;!!Mih3wA!V8X7SpmssWAD6eANe3F_3fQH7pHBkQ_8gyeJSAE6yMjWL2dFHe-3_Z11NUwg$>
--------
Dan Wilcox
@danomatika <http://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20200713/c4003d27/attachment.html>


More information about the Pd-dev mailing list