My system doesn&#39;t want to compile for ppc64 (I have no idea what type of mac needs this):<br><br>macosx-version-min=10.5 -c porttime/ptmacosx_cf.c  -fno-common -DPIC -o .libs/ptmacosx_cf.o<br>In file included from /usr/include/mach/mach_interface.h:50,<br>
                 from /usr/include/mach/mach.h:67,<br>                 from porttime/ptmacosx_cf.c:8:<br>/usr/include/mach/task.h:35:29: error: mach/ppc64/task.h: No such file or directory<br>In file included from /usr/include/mach/mach_interface.h:51,<br>
                 from /usr/include/mach/mach.h:67,<br>                 from porttime/ptmacosx_cf.c:8:<br>/usr/include/mach/thread_act.h:35:35: error: mach/ppc64/thread_act.h: No such file or directory<br>lipo: can&#39;t figure out the architecture type of: /var/folders/mi/miOJDQB4G4W+2Le0+GFkPk+++TI/-Tmp-//ccEWxRNK.out<br>
make[2]: *** [ptmacosx_cf.lo] Error 1<br><br><br><br><br><div class="gmail_quote">On Sat, Nov 14, 2009 at 6:10 PM, Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at">hans@at.or.at</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="word-wrap: break-word;"><div><br></div><div>I forgot.  In order to build a Universal, you need to include <span style="font-size: 12px;">--disable-dependency-tracking.  So like this:</span></div>
<div><br></div><div>./configure <span style="font-size: 12px;">--disable-dependency-tracking --enable-universal</span></div><div><br></div><div>My guess is that a universal Pd running in 64-bit mode will fail to load a 32-bit external.</div>
<div><br></div><div>.hc</div><div><div></div><div class="h5"><br><div><div>On Nov 14, 2009, at 10:35 AM, Rich E wrote:</div><br><blockquote type="cite">Portaudio makes now, 64bit pd.  I can also make the 32bit version using CFLAGS and LDFLAGS, but the --enable-universal doesn&#39;t work because of the following error:<br>
<br>gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags<br> make[2]: *** [libportaudio_la-pa_allocation.lo] Error 1<br><br>I was thinking, what happens when you have a universal binary pd and you mix external types, like some are 32bit and some are 64bit?  Maybe a universal binary pd isn&#39;t so good..<br>
 <br>I&#39;ll try testing out the 64bit pd-gui-rewrite for a while, see if anything strange happens.<br><br><div class="gmail_quote">On Sat, Nov 14, 2009 at 6:42 AM, Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a>&gt;</span> wrote:<br>
 <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="word-wrap: break-word;"><div><br></div><div>Ok, I updated the portaudio to the latest, updated 3 weeks ago in portaudio SVN.  Plus I fixed your CFLAGS bug.  You should also be able to build universal by doing &quot;./configure --enable-universal&quot; instead of manually setting the CFLAGS/LDFLAGS.</div>
 <div><br></div><font color="#888888"><div>.hc</div></font><div><div></div><div><br><div><div>On Nov 13, 2009, at 2:03 PM, Rich E wrote:</div><br><blockquote type="cite">I compiled the pd-gui-rewrite branch today as 64bit with portaudio support, but haven&#39;t tested it much. <br>
 <br>To compile portaudio as 64bit, you need the the sources from their svn.  If I try to compile using the sources included with pd, I get a bunch of deprecation warnings followed by a syntax error.  If I update the source codes to those in portaudio&#39;s svn trunk, the syntax error goes away but there are still many deprecation warnings.  But, I have audio, with and without jack.<br>
 <br>The configure script doesn&#39;t like it when I do:<br>export CFLAGS=&quot;-arch i386 -arch x86_64&quot;<br>export LDFLAGS=&quot;-arch i386 -arch x86_64&quot;<br> <br>This is how I compiled portaudio, but when I do it with pd, the configure script reports gcc as unusable.  Is there a better way to make gcc compile universal binaries?<br>
 <br>Rich <br><br><div class="gmail_quote">On Thu, Nov 12, 2009 at 5:15 PM, Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
 <div style="word-wrap: break-word;"><div><br></div><div>portaudio provides CoreAudio support already.  It is AudioUnit support that is in the works, which I suppose is part of CoreAudio.  What are the errors with portaudio in pd-gui-rewrite?  It would be good to get those fixed there, since you said that portaudio on its own can build fine for 64-bit (or am I mistaken?)</div>
 <div><br></div><div>.hc</div><div><div></div><div><br><div><div>On Nov 11, 2009, at 8:21 PM, Rich E wrote:</div><br><blockquote type="cite">Got it compiled and it looks nice.  The portaudio failed, same as Pd-Vanilla, but I guess you aren&#39;t worried about that because you are working on getting coreaudio support (which would be nice).  Jack works, everything is sounds nice and stable.  <br>
 <br>The only thing I noticed is that expr cannot be found.  I have only tried a few of the example patches so far.<br><br>cheers,<br>Rich<br><br><div class="gmail_quote">On Thu, Nov 12, 2009 at 1:57 AM, Rich E <span dir="ltr">&lt;<a href="mailto:reakinator@gmail.com" target="_blank">reakinator@gmail.com</a>&gt;</span> wrote:<br>
 <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Oops, my fault.  I had some residual CFLAGS from trying to get Gem to compile... onward :)  <br>
 <div><div></div><div><br><div class="gmail_quote">On Thu, Nov 12, 2009 at 1:23 AM, Rich E <span dir="ltr">&lt;<a href="mailto:reakinator@gmail.com" target="_blank">reakinator@gmail.com</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
 On running a regular ./configure in the gui rewrite branch, I get the error:<br><br>checking for C compiler default output file name... <br> configure: error: in `/Users/richardeakin/Downloads/src/pd-gui-rewrite-0.43&#39;:<br>
 configure: error: C compiler cannot create executables<br>See `config.log&#39; for more details.<br><br>I attached the config.log, any ideas?<br><font color="#888888"><br>Rich</font><div><div></div><div><br><br> <div class="gmail_quote">
 On Thu, Nov 12, 2009 at 12:29 AM, Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
 <div style="word-wrap: break-word;"><div><br></div><div>The build system in vanilla/extended is pretty ugly, especially for Mac OS X.  The build system in the pd-gui-rewrite/0.43 branch has been rewritten from scratch to be a full autotools build system.  That should fix the -isysroot and --disable-portaudio problem you mention.  Try it out, and we can fix any issues there.</div>
 <div><br></div><div>svn co <a href="https://pure-data.svn.sourceforge.net/svnroot/pure-data/branches/pd-gui-rewrite/0.43/" target="_blank">https://pure-data.svn.sourceforge.net/svnroot/pure-data/branches/pd-gui-rewrite/0.43/</a></div>
 <div>cd 0.43</div><div>./autogen.sh &amp;&amp; ./configure --enable-jack --disable-portaudio &amp;&amp; make</div><div><br></div><div>.hc</div><div><div></div><div><br><div><div>On Nov 11, 2009, at 6:08 PM, Rich E wrote:</div>
 <br><blockquote type="cite">Oops, I accidentally just sent my last post to Hans.  Please read this and the post below...<br><br>I have been slowly figuring out the last problem, where gcc can&#39;t find my headers in /usr/include.  It is because the configure line:<br>
  <br>if test &quot;x$fat&quot; == &quot;xyes&quot;;<br>    then<br>        MORECFLAGS=&quot;-isysroot /Developer/SDKs/MacOSX10.4u.sdk \<br>             -arch i386 -arch ppc -Wno-error&quot;<br><br>First, I don&#39;t know why this is necessary, but I&#39;m sure somebody does.  I also don&#39;t know why OS X 10.6 is being detected as fat anything.  <br>
 <br>I can install the MacOSX10.4u.sdk from the Xcode disk, but then gcc can&#39;t find a good stdarg.h, as the one include within that sdk has a #include_next stdarg.h directive.  Then, with this -sysroot flag, gcc doesn&#39;t search any other directory and none of the 20 other stdarg.h files on my computer are found.  I remove this flag and the header files are found elsewhere just fine.<br>
  <br>I compiled Portaudio from svn as universal binary with 64bit.  But, this library doesn&#39;t work with Pd&#39;s portaudio source files and the new sources don&#39;t work with Pd&#39;s sources.  So, I can&#39;t get past building the portaudio objects.  I tried just using jack with &quot;./configure --enable-jack --disable-portaudio&quot;, but the build script still tries to build portaudio and fails. <br>
  <br>This is all with pd vanilla from Miller&#39;s website.  I&#39;m also trying to build the Pd extended sources, but I suppose I should start a new thread for the problem I hit there..<br><br><div class="gmail_quote">On Tue, Nov 10, 2009 at 3:29 AM, Rich E <span dir="ltr">&lt;<a href="mailto:reakinator@gmail.com" target="_blank">reakinator@gmail.com</a>&gt;</span> wrote:<br>
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Macports made me a universal binary portaudio, thankfully because I could not get it to compile as 64 bit from the source (I posted why on the portaudio mailing list).<br>
  <br>I&#39;m having other annoying problems with my build system, probably something very stupid that I am not aware of.  Neither Pd nor Pd-extended can find header files in /usr/include.  This isn&#39;t so hard to include as a CFLAGS flag, but then it still can&#39;t find stdarg.h, which just makes me think my build system is broken.  <br>
  <br>I&#39;m working through the various errors to getting Pd-extended building on Snow Leopard as 64 bit, but I have to say I&#39;m probably not the best candidate as this is the first mac that I&#39;ve had in years.  Truthfully, I was looking forward to a time when things &#39;just worked&#39; :)  Not there yet.<br>
  <font color="#888888"> <br>Rich</font><div><div></div><div><br><br><div class="gmail_quote">On Tue, Nov 10, 2009 at 3:03 AM, Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a>&gt;</span> wrote:<br>
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div style="word-wrap: break-word;"><div><br></div><div>It seems that portaudio should build as 64-bit, perhaps its worth trying to upgrade the portaudio files that are included in Pd-extended.  I recently updated the pd-extended/0.42.5 branch to the most recent stable portaudio.</div>
  <div><br></div><div><a href="http://www.portaudio.com/trac/wiki/TutorialDir/Compile/MacintoshCoreAudio" target="_blank">http://www.portaudio.com/trac/wiki/TutorialDir/Compile/MacintoshCoreAudio</a></div><div><br></div><div>
  .hc</div><div><div></div><div><br><div><div>On Nov 9, 2009, at 11:57 AM, Hans-Christoph Steiner wrote:</div><br><blockquote type="cite"><div style="word-wrap: break-word;"><div><br></div><div>I&#39;m working getting an Apple AudioUnit sound API support into pd-core right now.  This will support the iPhone, but should also work on Mac OS X.  With this, it should be possible to get working audio on Mac OS X without portaudio.</div>
  <div><br></div><div>AFAIK, Fink does support 64-bit now, so as long as the libs support it, then Fink should work.  I&#39;d say it would be worthwhile building Pd-extended 64-bit without the Fink/Macports dependencies, since most included externals don&#39;t need any other libs.</div>
  <div><br></div><div>.hc</div><br><div><div>On Nov 9, 2009, at 10:49 AM, Rich E wrote:</div><br><blockquote type="cite">Ah, that did the trick.  Thanks.<br><br><div class="gmail_quote">On Mon, Nov 9, 2009 at 3:54 AM, Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a>&gt;</span> wrote:<br>
   <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <br> You need to set the LDFLAGS to -arch i386 also.  Or even better, try doing a 64-bit Snow Leopard build of Pd-extended.<br>
   <br></blockquote><div><br>I&#39;d love to try that, but I&#39;m still working to get a 64-bit Snow Leopard build of Pd-vanilla.  Portaudio won&#39;t let me do it yet.  Macports is limited as far as I can see, so I&#39;m having to compile each piece from source.<br>
   <br><br>cheers,<br>Rich<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> .hc<div><div></div><div><br> <br> On Nov 8, 2009, at 6:58 PM, Rich E wrote:<br>
   <br> </div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div> I&#39;ve been trying to get my externals to compile in to use with Pd-extended... in OS X Snow Leopard. So far it hasn&#39;t been easy because Pd-extended is i386 and my externals are compiling as x86_64.<br>
   <br> All I can find on this is to force the build to i386 with the gcc flag &#39;-arch i386&#39;, but the linker won&#39;t allow it:<br> <br> ld: warning: in incr.o, file is not of required architecture<br> <br> and then, I again have the 64 bit version:<br>
   $ file incr.pd_darwin<br> incr.pd_darwin: Mach-O 64-bit bundle x86_64<br> <br> Anyone know how to get these guys to work with Pd-extended?<br> <br> Rich<br></div></div><div> _______________________________________________<br>
   <a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br> UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
   </div></blockquote> <br> <br> ----------------------------------------------------------------------------<br> <br> I hate it when they say, &quot;He gave his life for his country.&quot;  Nobody gives their life for anything.  We steal the lives of these kids.  -Admiral Gene LeRocque<br>
   <br> </blockquote></div><br></blockquote></div><br><div> <span style="font-size: 12px; color: rgb(0, 0, 0);"><div><br><br></div><div>----------------------------------------------------------------------------</div><div>
  <div><br></div>&quot;Making boring techno music is really easy with modern tools,&quot; he  </div><div>says, &quot;but with live coding, boring techno is much harder.&quot; - Chris McCormick</div><div><br></div></span><br>
  <br> </div><br></div></blockquote></div><br></div></div><div> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><br>
  <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>
  <br></div><div>----------------------------------------------------------------------------</div><div><br></div><div>Using ReBirth is like trying to play an 808 with a long stick.    -David Zicarelli</div><br></span></span> </div>
  <br></div></blockquote></div><br> </div></div></blockquote></div><br></blockquote></div><br></div></div><div> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">
 <br><div><br></div><div><br></div><div><br></div><div>----------------------------------------------------------------------------<br></div><div><br></div><div>&#39;You people have such restrictive dress for women,’ she said, hobbling away in three inch heels and panty hose to finish out another pink-collar temp pool day.  - “Hijab Scene #2&quot;, by Mohja Kahf</div>
 <br></div></span> </div><br></div></blockquote></div><br> </div></div></blockquote></div><br> </div></div></blockquote></div><br></blockquote></div><br></div></div><div> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><br>
 <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>
 <br></div><div>----------------------------------------------------------------------------</div><div><br></div><div>                                              <a href="http://at.or.at/hans/" target="_blank">http://at.or.at/hans/</a></div>
 <br></span></span> </div><br></div></blockquote></div><br></blockquote></div><br><div> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><br>
 <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>
 <br></div><div>----------------------------------------------------------------------------</div><div><br></div><div>Using ReBirth is like trying to play an 808 with a long stick.    -David Zicarelli</div><br></span></span> </div>
 <br></div></div></div></blockquote></div><br></blockquote></div><br></div></div><div> <span style="font-size: 12px;"><br><span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><p style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal; min-height: 14px; font-family: Tahoma;">
<br style="font-family: Tahoma;"></p><div>----------------------------------------------------------------------------</div><p style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal; min-height: 14px; font-family: Tahoma;">
<br style="font-family: Tahoma;"></p><p style="margin: 0px;"><font style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal; font-family: Tahoma;" face="Tahoma" size="3"><span style="font-family: Tahoma;"><span style="font-family: Tahoma;">Information wants to be free.</span></span></font><font style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal; font-family: Tahoma;" face="Tahoma" size="3"><span><span style="font-family: Tahoma;"><span style="font-family: Tahoma;">    </span></span></span><span style="font-family: Tahoma;"><span style="font-family: Tahoma;">-Stewart Brand</span></span></font></p>
<br></span></span> </div><br></div></blockquote></div><br>