[MacPorts] #67744: gcc12 +universal arm64 supporting cross-build to x86_64 target.

MacPorts noreply at macports.org
Fri Jul 14 01:36:35 UTC 2023


#67744: gcc12 +universal arm64 supporting cross-build to x86_64 target.
--------------------------+--------------------------
  Reporter:  mu578        |      Owner:  (none)
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.8.1
Resolution:               |   Keywords:  x86_64 arm64
      Port:  gcc12        |
--------------------------+--------------------------
Changes (by jmroot):

 * keywords:  gcc12 x86_64 arm64 => x86_64 arm64
 * type:  request => enhancement
 * port:   => gcc12


Comment:

 No, it's not currently possible, see #67652. You can install with
 build_arch=x86_64, but that will unnecessarily run under Rosetta.
 Theoretically it shouldn't be too hard to modify the portfile to build a
 cross-compiler, but then it won't be able to target the host arch.

-- 
Ticket URL: <https://trac.macports.org/ticket/67744#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list