Thanks, IOhannes, that worked, using ‘arm64 x86-64’.
I now have all the objects individually deployed. Is there a way, using pd-lib-builder, to build the ‘unified’ library for Cyclone?
I’m currently working well enough for my own needs, but I’d like to supply a deployable library for Deken for cyclone-darwin (including arm64), and am not sure how to do that.
Best,
Phil Stone UC Davis
IOhannes wrote:
On 3/24/22 15:44, Philip Stone via Pd-list wrote:
Thank you for the pointers. Running ‘make’ on its own does indeed build cyclone, and since I’m doing it on an M1 macbook, it generates arm64 executables, and ‘install’ puts them in ~/lib/cyclone. (? - Is that right?), and they actually work!
However, I was hoping to generate fat, single-library binaries for Deken, and I thought CMake might make that easier. >> I will look into the necessary flags for doing it with ‘make’.
make arch="arm64 x86_64 i386 ppc"
leave out the architectures you do not want or know (and those that the compiler is not able to produce, which most likely includes all but the first two)
mdfgasd IOhannes
Is there a way, using pd-lib-builder, to build the ‘unified’ library for Cyclone?
Do you mean building everything as a single binary (instead of separate binaries per object)? This can be done with:
$ make make-lib-executable=yes
Christof
I’m currently working well enough for my own needs, but I’d like to supply a deployable library for Deken for cyclone-darwin (including arm64), and am not sure how to do that.
Best,
Phil Stone
UC Davis
IOhannes wrote:
On 3/24/22 15:44, Philip Stone via Pd-list wrote:
/Thank you for the pointers. Running ‘make’ on its own does indeed
build cyclone, and since I’m doing it on an M1 macbook, it generates arm64 executables, and ‘install’ puts them in ~/lib/cyclone. (? - Is that right?), and they actually work!/
//
/However, I was hoping to generate fat, single-library binaries for
Deken, and I thought CMake might make that easier. >> I will look into the necessary flags for doing it with ‘make’./
//
make arch="arm64 x86_64 i386 ppc"
leave out the architectures you do not want or know (and those that the
compiler is not able to produce, which most likely includes all but the
first two)
mdfgasd
IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->https://lists.puredata.info/listinfo/pd-list