Hello list,

I am trying to compile objects for pd for the first time. Running pd-extended 43.4 on OS 10.9.5. I just tried to compile the dummy objects in /6.externs. I navigated to /6.externs in Terminal and typed 

"make pd_darwin"

I got error in the Pd console when I tried to load these externals in Pd:

"dspobj~.pd_darwin: mach-o, but wrong architecture"

I realized that pd-extended is 32-bit on my machine (I get "Pd-extended: Mach-O executable i386" from Terminal).

So I tried amending the makefile in /6.externs by adding the -arch i386 flag:

"DARWINCFLAGS = -arch i386 -DPD -O2 -Wall -W -Wshadow -Wstrict-prototypes \ -Wno-unused -Wno-parentheses -Wno-switch"

and tried running "make pd_darwin" again.

Yet I get the exact same error in Pd. I run file on one of the dummy objects as I get this: 

"obj1.pd_darwin: Mach-O 64-bit bundle x86_64"

 so I assuming I am still not compiling for 32-bit.

Any tips?