[MacPorts] #65470: gcc12 insists on clang13?!

MacPorts noreply at macports.org
Wed Jul 13 12:27:53 UTC 2022


#65470: gcc12 insists on clang13?!
-------------------------+--------------------
  Reporter:  mouse07410  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  gcc12       |
-------------------------+--------------------

Comment (by cjones051073):

 Mouse - Use, with gcc12 if you build with `-stdlib=libc++` the resulting
 binaries can in principle be inter-mixed with those created with `clang++`
 as the runtime used is then the same.

 I do agree its not ideal that gcc has a runtime dep on clang, but gcc does
 not ship its own libc++ so you have to point it at an external
 installation to enable the feature, and Xcode is not enough, I couldn't
 get it to work with that. Hence I just went with using one of the Macports
 installs., as then the additional benefit is all OSes get the same
 (although, note, they are still limited in what they actually can support
 by the system libc++, in the exact same way as the clang compilers are.
 But thats another issue for another day).

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


More information about the macports-tickets mailing list