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/
I think info for developers will want to be a much larger thing than a single readme-type file - perhaps it should go in doc/1.manual?
cheers M
On Fri, Jun 05, 2020 at 10:53:20PM +0200, Dan Wilcox wrote:
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 <https://urldefense.com/v3/__http://twitter.com/danomatika__;!!Mih3wA!VXgbbI1... > danomatika.com <https://urldefense.com/v3/__http://danomatika.com/__;!!Mih3wA!VXgbbI1mbEJu8k... > robotcowboy.com <https://urldefense.com/v3/__http://robotcowboy.com/__;!!Mih3wA!VXgbbI1mbEJu8... >
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!...
That could work. We can then put a mention in INSTALL.txt.
INSTALL.txt the file was already there so I used that to expand the build overview and intro for people who haven't used a Unix-style build system before. I didn't think about the html docs. I did put a lot of the dirty details in the platform-specific readme, aka mac/README.txt & msw/README.txt but we could probably move all or some of those things to html, if it makes sense to do so.
On Jun 5, 2020, at 10:55 PM, Miller Puckette msp@ucsd.edu wrote:
I think info for developers will want to be a much larger thing than a single readme-type file - perhaps it should go in doc/1.manual?
cheers M
On Fri, Jun 05, 2020 at 10:53:20PM +0200, Dan Wilcox wrote:
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 <https://urldefense.com/v3/__http://twitter.com/danomatika__;!!Mih3wA!VXgbbI1... https://urldefense.com/v3/__http://twitter.com/danomatika__;!!Mih3wA!VXgbbI1mbEJu8kOnMR1fWNpmD0yyBloGv1RZ2Gbrji1DygHVR_XKlEUhZPF0$ > danomatika.com http://danomatika.com/<https://urldefense.com/v3/__http://danomatika.com/__;!!Mih3wA!VXgbbI1mbEJu8k... https://urldefense.com/v3/__http://danomatika.com/__;!!Mih3wA!VXgbbI1mbEJu8kOnMR1fWNpmD0yyBloGv1RZ2Gbrji1DygHVR_XKlPvEszu5$ > robotcowboy.com http://robotcowboy.com/<https://urldefense.com/v3/__http://robotcowboy.com/__;!!Mih3wA!VXgbbI1mbEJu8... https://urldefense.com/v3/__http://robotcowboy.com/__;!!Mih3wA!VXgbbI1mbEJu8kOnMR1fWNpmD0yyBloGv1RZ2Gbrji1DygHVR_XKlPRRw4fR$ >
Pd-list@lists.iem.at mailto:Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!... https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!!Mih3wA!VXgbbI1mbEJu8kOnMR1fWNpmD0yyBloGv1RZ2Gbrji1DygHVR_XKlOJllLZk$
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/