[PD-dev] [PD] how to compile externals for apple silicon?

IOhannes m zmölnig zmoelnig at iem.at
Sun May 1 10:52:17 CEST 2022


On 5/1/22 09:42, Dan Wilcox wrote
> You cannot build for i386. Support for that arch was famously removed in macOS 10.15 and those versions of Xcode which use its SDK, probably version 10 or so. Modern fat libs arm64 and x86_64.

just to add a bit of confusion...

technically, i think there's no difference between a "modern" and a 
"legacy" fat lib: it's a file format that can contain multiple 
architectures.
there's absolutely nothing keeping you from having a fat binary that 
contains arm64, x86_64, i386 and ppc.

the only obstacle is, that there is no compiler that can create binaries 
for all of these architectures.
but you can create the binaries on multiple systems (different macOS/OSX 
versions; different Xcode installations) and then use 'lipo' to merge 
the different single-arch binaries into a single fat one.

gmdsa
IOhannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20220501/0ddde5f5/attachment.sig>


More information about the Pd-dev mailing list