On 12/6/23 09:44, Lucas Cordiviola wrote:
On 06/12/2023 05:27, Alexandros Drymonitis wrote:
Sorry for the second question, now read the pd-lib-builder README. It states that 64-bit externals will indeed get a different name.
essentialy you need to do 2 compilations (no need to use different m_pd.h as they are the same)
then you have 2 files:
- my_lib.linux-amd64-32.so
- my_lib.linux-amd64-64.so
while this will work with Pd>=0.54, i would advice everybody to use the old-style extensions for the Pd32 externals:
- my_lib.l_amd64
- my_lib.linux-amd64-64.so
old-style extensions will not be used by Pd64 (so there's no danger in accidentally loading the wrong binary), but they *can* be loaded by older versions of Pd (which are Pd32 only).
of course, if you are using newer features that require Pd>=0.54 anyhow (e.g. multichannel), then by all means use the new-style extensions for Pd32 as well.
gdmasr IOhannes