[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cross compile to MacOS
From: |
Tony Theodore |
Subject: |
Re: cross compile to MacOS |
Date: |
Tue, 24 Nov 2020 21:52:26 +1100 |
> On 23 Nov 2020, at 06:37, Robert Heller <heller@deepsoft.com> wrote:
>
> Just to add another monkey wrench: *I* have heard vauge rumors that Apple
> might be thinking of moving away from x86_64 flavor processors (likely
> ARM64). (I believe that iPads, iPhones, and iPods are all ARM based.)
Indeed, the first M1-based Macs were released two weeks ago and are able to
run iOS apps natively. Their marketing call it "Apple Silicon", but it's
a variant of the ARM-based aarch64[1]. I've had a Mac Mini in my shopping
cart since then, and this thread may finally tip the scales.
There's an emulation layer for running Intel binaries, but most developers
will ship so-called "fat" binaries[2] containing both aarch64-apple-darwin
and x86_64-apple-darwin instructions. These are fairly easy to create in
practice (via `CFLAGS = -arch`) and I don't think that it will be much of
hurdle to cross-compiling (compared to some other issues).
Cheers,
Tony
[1]
https://git.savannah.gnu.org/gitweb/?p=config.git;a=commitdiff;h=2593751ef276497e312d7c4ce7fd049614c7bf80
[2] https://en.wikipedia.org/wiki/Fat_binary
- cross compile to MacOS, Valerio Messina, 2020/11/21
- Re: cross compile to MacOS, Robert Heller, 2020/11/21
- Re: cross compile to MacOS, Zach Bacon, 2020/11/21
- Re: cross compile to MacOS, Robert Heller, 2020/11/21
- Re: cross compile to MacOS, Volker Diels-Grabsch, 2020/11/22
- Re: cross compile to MacOS, Lars Holger Engelhard, 2020/11/22
- Re: cross compile to MacOS, Volker Diels-Grabsch, 2020/11/22
- Re: cross compile to MacOS, Valerio Messina, 2020/11/30
- Re: cross compile to MacOS, Robert Heller, 2020/11/22
- Re: cross compile to MacOS,
Tony Theodore <=
- Re: cross compile to MacOS, Valerio Messina, 2020/11/24
- Re: cross compile to MacOS, Zach Bacon, 2020/11/24
- Re: cross compile to MacOS, Valerio Messina, 2020/11/30
- Re: cross compile to MacOS, Zach Bacon, 2020/11/30
- Re: cross compile to MacOS, Kjetil Matheussen, 2020/11/30
- Re: cross compile to MacOS, Robert Heller, 2020/11/30
- Re: cross compile to MacOS, Kjetil Matheussen, 2020/11/30
- Re: cross compile to MacOS, Volker Diels-Grabsch, 2020/11/30
- Re: cross compile to MacOS, Gilles Caulier, 2020/11/30
- Re: cross compile to MacOS, Kjetil Matheussen, 2020/11/30