[MacPorts] #71241: GCC doesn't seem to work with the macOS 15.1 SDK on macOS 14.7

MacPorts noreply at macports.org
Tue Nov 5 10:57:03 UTC 2024


#71241: GCC doesn't seem to work with the macOS 15.1 SDK on macOS 14.7
-----------------------+--------------------
  Reporter:  szhorvat  |      Owner:  (none)
      Type:  defect    |     Status:  closed
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:  wontfix   |   Keywords:
      Port:  gcc14     |
-----------------------+--------------------

Comment (by szhorvat):

 For future readers: A possible workaround when compiling CMake projects is
 to set the `SDKROOT` environment variable to
 `/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/`

 It seems that on my system,
 `/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/` points to
 `MacOSX15.sdk`. I didn't feel comfortable modifying system files, so I did
 not test if re-pointing that symlink to `MacOSX14.sdk` would also work.

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


More information about the macports-tickets mailing list