FLTK logo

Re: [fltk.general] Fwd: [linuxham] Test suite for macOS BigSur

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: Fwd: [linuxham] Test suite for macOS BigSur Ian MacArthur Nov 23, 2020  
  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 ]
 
     
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'.