[PD] How to deal with externals for both 64 and 32-bit Pd
IOhannes m zmoelnig
zmoelnig at iem.at
Wed Dec 6 11:20:05 CET 2023
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20231206/4265268b/attachment.sig>
More information about the Pd-list
mailing list