[MacPorts] #48857: gcc ports: support compiling multiple archs (universal)

MacPorts noreply at macports.org
Tue Dec 5 14:43:14 UTC 2017


#48857: gcc ports: support compiling multiple archs (universal)
-------------------------------------------------+-------------------------
  Reporter:  devernay                            |      Owner:  macports-
                                                 |  tickets@…
      Type:  enhancement                         |     Status:  assigned
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:
Resolution:                                      |   Keywords:
      Port:  gcc43 gcc44 gcc45 gcc46 gcc47       |
  gcc48 gcc49 gcc5 gcc6                          |
-------------------------------------------------+-------------------------

Comment (by kencu):

 The functionality that supports darwin specifics is in this file
 `gcc/config/darwin-driver.c`. Here's a URL that links to that source
 <https://code.woboq.org/gcc/gcc/config/darwin-driver.c.html>. I saw this
 before, and had to modify it a bit to build gcc6 on Tiger Intel.

 But it appears the intrinsic `lipo` stage has not been included, so no
 multiple archs can't be spec'd by default in gcc. Perhaps that is a deal-
 breaker for this to work. If so, too bad. I was hoping it might be
 possible.

 I haven't delved into how the `muniversal` portgroup works, to know if
 that might help us here.

 Anyway, not worth it if it's too complicated to implement.

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


More information about the macports-tickets mailing list