Hi, I thought I had taken care of every platform when compiling my externals, but there's still PPC to go :)
Any hints on how to compile for mac PPC on an intel mac?
thanks
On 6/12/19 6:07 PM, Alexandre Torres Porres wrote:
Hi, I thought I had taken care of every platform when compiling my externals, but there's still PPC to go :)
Any hints on how to compile for mac PPC on an intel mac?
and "-arch ppc" to the CFLAGS.
recent versions of XCode no longer support this (iirc, very recent versions of XCode don't event support "-arch i386" any more, for creating intel/32bit builds).
for the pd-lib-builder system, you might just get away with something like: $ make arch="ppc i386 x86_64"
gfmasrd IOhannes
Em qua, 12 de jun de 2019 às 13:38, IOhannes m zmölnig zmoelnig@iem.at escreveu:
recent versions of XCode no longer support this (iirc, very recent versions of XCode don't event support "-arch i386" any more, for creating intel/32bit builds).
yeah, I'm on the latest one :(
for the pd-lib-builder system, you might just get away with something like: $ make arch="ppc i386 x86_64"
I get:
*/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/cdefs.h:784:2: **error: *
Unsupported architecture*
#error Unsupported architecture
:(
Maybe virtual machine is the way to go?
On 6/12/19, Alexandre Torres Porres porres@gmail.com wrote:
Hi, I thought I had taken care of every platform when compiling my externals, but there's still PPC to go :)
Any hints on how to compile for mac PPC on an intel mac?
What archs are supported depends on XCode version in the first place, and the XCode version in turn is to an extent related to OSX version. Somewhere during the lifetime of OSX 10.6, support for PPC was discontinued if I remember correctly. Current pdlibbuilder by default tries to build the fattest possible pd binaries (PPC i386 x86_64) on OSX i386. Best chances to get all the archs are with OSX 10.5 and the XCode versions supplied with that system.
Katja