[MacPorts] #70859: GMP build with GCC, not Clang
MacPorts
noreply at macports.org
Sun Sep 22 16:12:15 UTC 2024
#70859: GMP build with GCC, not Clang
-----------------------+---------------------
Reporter: haberg-1 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: ventura
Port: gmp |
-----------------------+---------------------
Comment (by kencu):
Now unfortunately it is currently difficult to build with gcc in MacPorts
(or HomeBrew I believe) targeting a non-native arch. The gcc compilers
installed by either package manager only compile for the native arch, and
current gcc cross-compilers have not been properly set up.
So there is no way for me to build gmp using gcc on this arm64 Mac as an
Intel build to test it.
I would have to build a custom intel cross compiling gcc to do that --
which is actually not all that hard, just have to do it manually.
Let me see if any of my Intel machines can run a new enough MacOS to
demonstrate the problem. They are generally running OpenCore now, but even
with that, I don't think I can get to a new enough OS to show this issue.
--
Ticket URL: <https://trac.macports.org/ticket/70859#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list