[PD-dev] Compiling fat external binaries for Mac OS X

Dan Wilcox danomatika at gmail.com
Wed Jun 15 12:53:23 CEST 2022


> On Jun 15, 2022, at 12:00 PM, pd-dev-request at lists.iem.at wrote:
> 
> Message: 1
> Date: Tue, 14 Jun 2022 14:23:16 +0200
> From: reduzent at gmail.com <mailto:reduzent at gmail.com>
> To: pd-dev at lists.iem.at <mailto:pd-dev at lists.iem.at>
> Subject: Re: [PD-dev] Compiling fat external binaries for Mac OS X
> Message-ID: <3646dbc2fcbfdf0a16d8feb20aa7bb11a6f5db58.camel at gmail.com <mailto:3646dbc2fcbfdf0a16d8feb20aa7bb11a6f5db58.camel at gmail.com>>
> Content-Type: text/plain; charset="UTF-8"
> 
> On Wed, 2022-06-08 at 20:04 +0200, Dan Wilcox wrote:
>> You can simply pass in the arches you want using the "arch" makefile
>> variable:
>> 
>> make arch="x86_64 arm64"
> 
> That's cool to know. In the case of purest_json, I believe it ships
> with other dependencies (libjson?) and if those come from homebrew,
> they're probably not fat. Is my assumption correct, that a fat binary
> would have to link to fat binary? 


I don't believe so. I think (not 100%) the system lib loading mechanism just needs to find the lib *and* have the right arch. I don't believe it matters if the lib is fat or not.


--------
Dan Wilcox
@danomatika <http://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20220615/44009bab/attachment.htm>


More information about the Pd-dev mailing list