[PD-dev] Macs to transition to ARM processors

Miller Puckette msp at ucsd.edu
Tue Jun 23 05:43:04 CEST 2020


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$ >
> danomatika.com <https://urldefense.com/v3/__http://danomatika.com/__;!!Mih3wA!V8X7SpmssWAD6eANe3F_3fQH7pHBkQ_8gyeJSAE6yMjWL2dFHe-3_Q6Jispv$ >
> robotcowboy.com <https://urldefense.com/v3/__http://robotcowboy.com/__;!!Mih3wA!V8X7SpmssWAD6eANe3F_3fQH7pHBkQ_8gyeJSAE6yMjWL2dFHe-3_YuGSoHi$ >
> 
> 
> 

> _______________________________________________
> Pd-dev mailing list
> Pd-dev at lists.iem.at
> https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-dev__;!!Mih3wA!V8X7SpmssWAD6eANe3F_3fQH7pHBkQ_8gyeJSAE6yMjWL2dFHe-3_Z11NUwg$ 






More information about the Pd-dev mailing list