[PD] GEM external "pd_darwin: mach-o, but wrong architecture"
Jaime E Oliver
jaime.oliver2 at gmail.com
Mon May 4 19:48:05 CEST 2015
Hi Iohannes,
> so what's the architecture of pix_demo.pd_darwin, Gem.pd_darwin and Pd
> resp.?
They're all i386, unless i've done something wrong with pix_demo.
>
>> I assume I need to add a flag but not entirely sure which one or where to put it.
>
> most likely you are using an i386 Gem (as provided on gem.iem.at) and
> Pd, so you need to make sure that your external is i386 as well.
> do this by passing "-arch i386" (or even better. "-arch i386 -arch
> x86_64", which will give you fat binaries) to both the compiler and the
> linker.
you mean using this flag: --enable-fat-binary=i386 ?
or how?
>
> if you build pix_demo in-tree (that is, in extra/, like pix_drum) using
> Gem's build-system, this should happen automatically via the
> @GEM_ARCH_CXXFLAGS@/@GEM_ARCH_LDFLAGS@ templates.
This is exactly what I did. Which is why I was surprised when it didn't work…
J
>
>
> gfmsard
> IOhannes
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
More information about the Pd-list
mailing list