<div dir="ltr"><div dir="ltr" class="gmail_attr">On Sun, Sep 13, 2020 at 1:21 PM Ken Cunningham <<a href="mailto:ken.cunningham.webuse@gmail.com">ken.cunningham.webuse@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">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.<br>
<br>
The last gcc version we had that supported multiarchitecture building was apple-gcc42 (Intel, PPC).<br>
<br>
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).<br>
<br>
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).<br>
<br>
This is (IMHO) a major MacPorts advantage, as our universal support is unusually robust.<br>
<br>
Ken</blockquote><div><br></div><div>It'd be great to see these changes contributed back upstream to the official version of GCC in the GNU toolchain  <br></div></div></div>