FLTK logo

Re: [fltk.general] Re: Success: Natively built FLTK on ARM64 (Apple Silicon) macOS!

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Re: Success: Natively built FLTK on ARM64 (Apple Silicon) macOS! imm Nov 25, 2020  
 
On Wed, 25 Nov 2020, 11:08 fischerlaender wrote:


Some more details: I'm building two standalone application bundles, one on my Intel Mac running Catalina, the other on the ARM Mac. I then copy the binary from the app bundle (xxx.app/Contents/MacOS/) on the ARM Mac to the Intel Mac where I use lipo to create a universal binary as explained before. This universal binary is then placed in the app bundled, replacing the existing Intel binary. I then sign and notarize this app bundle.



Thanks for letting us know.
That's what I had inferred you were doing, from your earlier post, which is why I asked if you were building each binary natively...

If you have access to both architectures that may well be the easiest option.



Indeed, it would be handy to know if a fat-binary (including an arm M1 binary) can be built entirely on an x86_64 host, since that would go a long way to address the issues that David (w1hkj) is having I imagine.

As my Intel Mac is from 2012 and runs only Catalina, I haven't tried this. It should be possible as XCode 12.2 runs on Catalina, but I don't want to change my working scripts. You know: Never change a running system. :-)

Building on a single system would only save copying and pasting some simple command line commands, so I don't want to mess around with it.


Indeed so.
Though I've generally found Xcode to have pretty good compatibility across versions so it might go smoothly!

Really I was just wondering how well the fat-binary process would work for those who only have an Intel Mac at present.

Like me: but mine is Too Old (10.13) which I do not think can support a "recent enough" Xcode to even try...
-- 
Ian
From my Fairphone FP3

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/CAGFM6dZ5fwVP0s0tmzgXdoZXuJEq-xpX8vROdGhxLd%3D_-m4cjA%40mail.gmail.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.