<div dir="ltr">Hi Stephan,<div><br></div><div>looking around for a way to create universal binaries for arm64/x86_64 outside of XCode I've stumbled onto this project here: <a href="https://github.com/tpoechtrager/osxcross">https://github.com/tpoechtrager/osxcross</a> </div><div>If it works the way the Readme makes it sound, it should be fairly simple to create a universal binary in the existing LyX build environment. I'll try to find some time to play around with it a little over the next few days! </div><div><br></div><div>I only had to make the tiniest change in LyX-Mac-binary-release.sh to get it to run on Big Sur (macos SDK version 10.x vs. 11.x). I attached a patch for it.</div><div><br></div><div>Best regards,</div><div>Marcus</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 17, 2021 at 10:50 PM Stephan Witt <<a href="mailto:st.witt@gmx.net">st.witt@gmx.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Marcus,<br>
<br>
thank you for your message and the good news.<br>
<br>
I’d be very glad to see your changes to the build script for Mac.<br>
<br>
My plan regarding LyX for ARM CPU is to create a universal binary with Intel and ARM architecture. In the past we did this with PowerPC and Intel. I’d guess one can do this with the current Xcode and (cross) compile Qt and LyX (plus all helper frameworks we’re using) on one system architecture for both target systems. <br>
<br>
I’m not sure how difficult this is - but it should be doable.<br>
<br>
Best regards,<br>
Stephan<br>
<br>
> Am 17.01.2021 um 21:36 schrieb Marcus Mikulcak <<a href="mailto:marcus.mikulcak@gmail.com" target="_blank">marcus.mikulcak@gmail.com</a>>:<br>
> <br>
> Hi everybody,<br>
> <br>
> a few days ago I posted this message on lyx-users but was told that this list might be the better place for it. Here goes:<br>
> <br>
> a few months ago (November, I think?) somebody raised the question of LyX on Apple Silicon, how and whether it would run. As I've been using a LyX version that I've compiled from source (with a feature included by Jürgen Spitzmüller that's so far only in master - thanks again!), I was anxious to find out whether LyX would compile for arm64. Long story short: It does! <br>
> <br>
> I had to fiddle with the Mac development release script a bit to get it to run on Big Sur, but no major problems there either. <br>
> <br>
> If I can be of any help in testing or during the release process, just let me know! I'd be very happy to help. <br>
> <br>
> The last sentence stands: If I can be of any help in testing LyX on Apple Silicon or even in preparing a universal binary for release or anything like that, just me know! <br>
> <br>
> Best regards,<br>
> Marcus<br>
> <br>
> -- <br>
> lyx-devel mailing list<br>
> <a href="mailto:lyx-devel@lists.lyx.org" target="_blank">lyx-devel@lists.lyx.org</a><br>
> <a href="http://lists.lyx.org/mailman/listinfo/lyx-devel" rel="noreferrer" target="_blank">http://lists.lyx.org/mailman/listinfo/lyx-devel</a><br>
<br>
</blockquote></div>