Hi, I have fat binaries for a test release update of else, it should work on apple silicon macs running Pd compiled for arm that loads externals for arm. Can anyone test these? I don't have a silicon mac.
Download from here since deken seems to be down. https://github.com/porres/pd-else/releases/tag/v1.0-rc1-test
I did make install objectsdir=../ extension=d_fat and pd-lib-builder generated binaries with that extension.
porres@Alexandres-MacBook-Pro pd-else copy % make install objectsdir=../ extension=d_fat
++++ info: using Makefile.pdlibbuilder version 0.6.0
++++ info: making target install in lib else
++++ info: installpath is '..//else'
++++ info: linking objects in timed.gate~.d_fat for lib else
cc -undefined suppress -flat_namespace -bundle -arch i386 -arch x86_64 -mmacosx-version-min=10.6 -o timed.gate~.d_fat Classes/Source/timed.gate~.o -lc
ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS)
ld: warning: ignoring file Classes/Source/timed.gate~.o, building for macOS-i386 but attempting to link with file built for unknown-x86_64
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd, missing required architecture i386 in file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd (3 slices)
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libc.tbd, missing required architecture i386 in file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libc.tbd (3 slices)
ld: dynamic main executables must link with libSystem.dylib for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [timed.gate~.d_fat] Error 1
porres@Alexandres-MacBook-Pro pd-else copy %
OUCH: couldn't detect float-size for 'else/asr~.d_fat'
and no default set, assuming None
use '--default-floatsize <N>' to override)
I didn't bother trying to explicitly define a float size because I wasn't uploading it to deken... and this wouldn't change my build anyway...
So, I'm really lost here and I don't know what I should do to build a proper fat binary...
As for not being able to create a fat binary that also includes i386, I guess we can forget about it, for deken at least. I can still build for it and keep that on my release page on github if needed, but it doesn't seem like something I should bother that much these days (I'm not even mentioning ppc).
Anyway, any hints on what I can do to build it properly? And also maybe avoid the needed sudo spctl --master-disable command (whatever that is)?
Thanks