<div class="gmail_quote"><div>Not sure this is the case, but had a similar issue compiling on a latest mac.</div><div>With os >10.6 gcc compiles for 64bit architecture.</div><div><br></div><div>But you are most likely running the 32bit version of pd.</div>
<div><br></div><div>I had this issue compiling iemguts and found this post by Luke Iannini which solved the problem:</div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://lists.puredata.info/pipermail/pd-dev/2009-06/013768.html">http://lists.puredata.info/pipermail/pd-dev/2009-06/013768.html</a></div>
<div><br></div><div>Basically you needed to add two arguments to the makefile to force gcc to compile for 32.</div><div>But I don't know what you want to compile.</div><div><br></div><div>cheers,</div><div>M</div><div>
<br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hey folks, I really suck at compiling objects, and I'm getting this problem<br>
that when I try to load the object I compiled in my mac os 10.6.7 I get<br>
this "Wrong architecture" problem.<br>
<br>
Is it a pretty straightforward situation or do I need to give out more info?<br>
<br>
here's what's in the build file<br>
<br>
<br>
<br>
NAME=roughness<br>
cc -DPD -O0 -g -fnested-functions -Wall -Wno-unused-parameter<br>
-Wno-parentheses -Wno-switch -I ./ -o $NAME.o -c $NAME.c &&<br>
cc -bundle -undefined suppress -flat_namespace -o $NAME.pd_darwin $NAME.o<br>
<br>
<br>
thanks<br></blockquote></div><br>-- <br>Marco Donnarumma<br>Independent New Media and Sonic Arts Professional, Performer, Instructor<br>ACE, Sound Design MSc by Research (ongoing)<br>The University of Edinburgh, UK<br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
Portfolio: <a href="http://marcodonnarumma.com/" target="_blank">http://marcodonnarumma.com</a><br>Lab: <a href="http://www.thesaddj.com/" target="_blank">http://www.thesaddj.com</a> | <a href="http://cntrl.sourceforge.net/" target="_blank">http://cntrl.sourceforge.net</a> | <a href="http://www.flxer.net/" target="_blank">http://www.flxer.net</a><br>
Event: <a href="http://www.liveperformersmeeting.net/" target="_blank">http://www.liveperformersmeeting.net</a><br>