Christof,
Let's put this in a new DEVELOPER.txt file in the Pd root. I think it could be a good companion to the INSTALL.txt along with other lower-level details...
On Jun 5, 2020, at 7:49 PM, pd-list-request@lists.iem.at wrote:
Hi,
apart from the "generic" library extensions (".pd_darwin", ".pd_linux", ".so" and ".dll"), Pd also supports platform specific extensions, with a OS prefix and the CPU architecture:
Prefixes:
"m_" -> Windows
"d_" -> macOS
"l_" -> Linux
"o_" -> OpenBSD
Architectures:
"amd64" -> Intel 64-bit
"i386" -> Intel 32-bit
"arm" -> Arm 32-bit
"arm64" -> Arm 64-bit
"ppc" -> PowerPC
In your case, you can ship two different binaries next to each other: ".d_i386" and ".d_amd64".
Finally, macOS also supports fat binaries, where several architectures are contained within a single binary. These have the extension ".d_fat".
Christof
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/