more of the error as it presents itself;

../roughness.pd_darwin, 10): no suitable image found.  Did find:
../roughness.pd_darwin: mach-o, but wrong architecture

cheers

2011/4/18 Alexandre Porres <porres@gmail.com>
Hey folks, I really suck at compiling objects, and I'm getting this problem that when I try to load the object I compiled in my mac os 10.6.7 I get this "Wrong architecture" problem.

Is it a pretty straightforward situation or do I need to give out more info?

here's what's in the build file



NAME=roughness
cc -DPD -O0 -g -fnested-functions -Wall -Wno-unused-parameter -Wno-parentheses -Wno-switch  -I ./  -o $NAME.o -c $NAME.c &&
cc -bundle -undefined suppress  -flat_namespace -o $NAME.pd_darwin $NAME.o


thanks