<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Difficulty compiling PD for Mac M series architecture - keeps coming out as Intel]]></title><description><![CDATA[<p>Hi all - I'm trying to compile PD for my M1 Mac and I have not been able to figure out how to get this to work. It keeps ending up with an Intel based app even though when I run configure it appears to be set up correctly. Configure gives this output:</p>
<pre><code>pd 0.54.0 is now configured

Platform:             Mac OSX
Float size:           default
Debug build:          no
Universal build:      no
Localizations:        yes
Source directory:     .
Installation prefix:  /usr/local

Compiler:             gcc
CPPFLAGS:             -DNDEBUG  
CFLAGS:               -mmacosx-version-min=10.6 -ffast-math -fno-finite-math-only -funroll-loops -fomit-frame-pointer -O3  -g -O2
LDFLAGS:              -L/usr/local/lib  
INCLUDES:             -I/usr/local/include 
LIBS:                 

External extension:   d_fat
External CFLAGS:      -fPIC
External LDFLAGS:     -bundle -undefined dynamic_lookup
Deken identifier:     darwin-arm64

fftw:                 no
wish(tcl/tk):         default search paths
watchdog:             yes
audio APIs:           PortAudio 
midi APIs:            PortMidi 
</code></pre>
<p>However, when I subsequently run 'make' and then 'make app' the app it generates is an Intel app. I can tell by looking at the app with 'get info' in Finder, or by looking at it in Activity Monitor when it is running and seeing that it is an Intel process. Can somebody please help me make this natively for Mac architecture?</p>
<p>(FYI, I am doing a custom compile because I need to extend the MIDI FIFO size to avoid overflow for my specific use case)</p>
<p>Thanks!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14489/difficulty-compiling-pd-for-mac-m-series-architecture-keeps-coming-out-as-intel</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 15:18:05 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/14489.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 14 Oct 2023 18:12:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Difficulty compiling PD for Mac M series architecture - keeps coming out as Intel on Sat, 14 Oct 2023 18:13:24 GMT]]></title><description><![CDATA[<p>Hi all - I'm trying to compile PD for my M1 Mac and I have not been able to figure out how to get this to work. It keeps ending up with an Intel based app even though when I run configure it appears to be set up correctly. Configure gives this output:</p>
<pre><code>pd 0.54.0 is now configured

Platform:             Mac OSX
Float size:           default
Debug build:          no
Universal build:      no
Localizations:        yes
Source directory:     .
Installation prefix:  /usr/local

Compiler:             gcc
CPPFLAGS:             -DNDEBUG  
CFLAGS:               -mmacosx-version-min=10.6 -ffast-math -fno-finite-math-only -funroll-loops -fomit-frame-pointer -O3  -g -O2
LDFLAGS:              -L/usr/local/lib  
INCLUDES:             -I/usr/local/include 
LIBS:                 

External extension:   d_fat
External CFLAGS:      -fPIC
External LDFLAGS:     -bundle -undefined dynamic_lookup
Deken identifier:     darwin-arm64

fftw:                 no
wish(tcl/tk):         default search paths
watchdog:             yes
audio APIs:           PortAudio 
midi APIs:            PortMidi 
</code></pre>
<p>However, when I subsequently run 'make' and then 'make app' the app it generates is an Intel app. I can tell by looking at the app with 'get info' in Finder, or by looking at it in Activity Monitor when it is running and seeing that it is an Intel process. Can somebody please help me make this natively for Mac architecture?</p>
<p>(FYI, I am doing a custom compile because I need to extend the MIDI FIFO size to avoid overflow for my specific use case)</p>
<p>Thanks!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14489/difficulty-compiling-pd-for-mac-m-series-architecture-keeps-coming-out-as-intel</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14489/difficulty-compiling-pd-for-mac-m-series-architecture-keeps-coming-out-as-intel</guid><dc:creator><![CDATA[ReverbDuck]]></dc:creator><pubDate>Sat, 14 Oct 2023 18:13:24 GMT</pubDate></item><item><title><![CDATA[Reply to Difficulty compiling PD for Mac M series architecture - keeps coming out as Intel on Sat, 14 Oct 2023 18:37:18 GMT]]></title><description><![CDATA[<p>try passing <code>CFLAGS=&quot;-arch arm64&quot;</code> to configure</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14489/difficulty-compiling-pd-for-mac-m-series-architecture-keeps-coming-out-as-intel/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14489/difficulty-compiling-pd-for-mac-m-series-architecture-keeps-coming-out-as-intel/2</guid><dc:creator><![CDATA[seb-harmonik.ar]]></dc:creator><pubDate>Sat, 14 Oct 2023 18:37:18 GMT</pubDate></item><item><title><![CDATA[Reply to Difficulty compiling PD for Mac M series architecture - keeps coming out as Intel on Sat, 14 Oct 2023 18:49:37 GMT]]></title><description><![CDATA[<p>Hi - thank you for the suggestion, but this did not change the outcome. I confirmed that the cflag you suggested is present in the output of configure, but the final app is still showing as Intel-based</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14489/difficulty-compiling-pd-for-mac-m-series-architecture-keeps-coming-out-as-intel/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14489/difficulty-compiling-pd-for-mac-m-series-architecture-keeps-coming-out-as-intel/3</guid><dc:creator><![CDATA[ReverbDuck]]></dc:creator><pubDate>Sat, 14 Oct 2023 18:49:37 GMT</pubDate></item><item><title><![CDATA[Reply to Difficulty compiling PD for Mac M series architecture - keeps coming out as Intel on Sat, 14 Oct 2023 19:01:34 GMT]]></title><description><![CDATA[<p>if you can see the inputs passed to the compiler, does that contain the flag?<br />
you could also try doing <code>make clean</code> before recompiling</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14489/difficulty-compiling-pd-for-mac-m-series-architecture-keeps-coming-out-as-intel/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14489/difficulty-compiling-pd-for-mac-m-series-architecture-keeps-coming-out-as-intel/4</guid><dc:creator><![CDATA[seb-harmonik.ar]]></dc:creator><pubDate>Sat, 14 Oct 2023 19:01:34 GMT</pubDate></item><item><title><![CDATA[Reply to Difficulty compiling PD for Mac M series architecture - keeps coming out as Intel on Sat, 14 Oct 2023 19:08:01 GMT]]></title><description><![CDATA[<p>I've been cleaning before making, so that's not it. If I capture the output of the 'make' command I see the '-arch arm64' argument on the gcc calls, so it appears to be making it to the compiler.</p>
<p>After making, I am running the mac/osx-app.sh shell script to make the final app and this is what is showing up as Intel. Could there be a complication here?</p>
<p>Thank you!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14489/difficulty-compiling-pd-for-mac-m-series-architecture-keeps-coming-out-as-intel/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14489/difficulty-compiling-pd-for-mac-m-series-architecture-keeps-coming-out-as-intel/5</guid><dc:creator><![CDATA[ReverbDuck]]></dc:creator><pubDate>Sat, 14 Oct 2023 19:08:01 GMT</pubDate></item><item><title><![CDATA[Reply to Difficulty compiling PD for Mac M series architecture - keeps coming out as Intel on Sat, 14 Oct 2023 22:00:31 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/reverbduck">@ReverbDuck</a> oh yeah if you're talking about the gui process. I thought the included wish was already arm but I guess it's not. you might have to compile that as well. Or you can try using a wish that a user of pdnext compiled.<br />
to do that replace mac/stuff/wish-shell.tgz with the one here (tcl/tk version is different than vanilla) <a href="https://github.com/sebshader/pdnext/tree/next/mac/stuff" rel="nofollow">https://github.com/sebshader/pdnext/tree/next/mac/stuff</a></p>
<p>if you want to compile it yourself then you have to do <code>./osx-app.sh -t 8.6.10 --universal</code> I think (substitute tk version for 8.6.10)</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14489/difficulty-compiling-pd-for-mac-m-series-architecture-keeps-coming-out-as-intel/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14489/difficulty-compiling-pd-for-mac-m-series-architecture-keeps-coming-out-as-intel/6</guid><dc:creator><![CDATA[seb-harmonik.ar]]></dc:creator><pubDate>Sat, 14 Oct 2023 22:00:31 GMT</pubDate></item></channel></rss>