|
|
On Monday, 23 November 2020 at 14:50:04 UTC Manolo wrote:
Is it conceivable for you to produce "universal apps" in order to test the M1 architecture without Rosetta?
Under Xcode, this requires to install Xcode 12.2, and is as simple as choosing "Standard Architectures" in the Architectures build setting for all libraries and the program, for the Release case.
Under CMake-gui, it's enough to give CMAKE_OSX_ARCHITECTURES the value x86_64; arm64
With that, I obtain dual architecture-FLTK apps.
Oh - that's useful. I didn't know the cmake rules could handle setting the architectures for "Universal" fat-binaries. And the x86_64 toolchain can handle the cross-compilation to arm64 too?
ISTR that, last time around, the i386 Macs *could* build fat-binaries (i386,ppc,etc.) but the PPC ones could not... Though I may be misremembering that, as it was a while ago...
--
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/c0a12347-7095-455a-9c7c-5f2cdf75cc74n%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |