if we are going to support universal arm/x86_64 ports, we'll likely need a multi-architecture gcc again

Eric Gallager egall at gwmail.gwu.edu
Fri Sep 25 04:26:36 UTC 2020

On Sun, Sep 13, 2020 at 1:21 PM Ken Cunningham <
ken.cunningham.webuse at gmail.com> wrote:

> I’m not sure if the MacPorts plan is to support universal arm/x86_64
> builds, but I can imagine that for some years we might want to consider
> doing that.
> The last gcc version we had that supported multiarchitecture building was
> apple-gcc42 (Intel, PPC).
> We might have built a suitable newer cross-compiling gcc by updating the
> current gcc darwindriver.c with Apple’s lipo enhancements and doing a
> formal cross-compiling installation, but we never got around to it, and our
> current gcc versions are single arch (although support 32 and 64bit in
> each). There are some projects on github that did this (Frederick
> Devernay’s, among others).
> But with arm now on the horizon, we will need a cross-compiling gcc again
> if we are to have cross-arch universal support, which I can certainly see a
> need for. (A gcc that supports darwin arm has not yet been released, but it
> is currently working and exists).
> This is (IMHO) a major MacPorts advantage, as our universal support is
> unusually robust.
> Ken

It'd be great to see these changes contributed back upstream to the
official version of GCC in the GNU toolchain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20200925/743da209/attachment.htm>

More information about the macports-dev mailing list