[MacPorts] #53758: gcc6 @6.3.0_2: g++ fails to find stdc++ includes when -isysroot set

MacPorts noreply at macports.org
Thu Mar 9 18:55:25 UTC 2017


#53758: gcc6 @6.3.0_2: g++ fails to find stdc++ includes when -isysroot set
-----------------------+--------------------
  Reporter:  ibethune  |      Owner:
      Type:  defect    |     Status:  closed
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.4.0
Resolution:  invalid   |   Keywords:
      Port:  gcc6      |
-----------------------+--------------------
Changes (by ryandesign):

 * cc: ryandesign (added)
 * status:  new => closed
 * resolution:   => invalid


Comment:

 Replying to [ticket:53758 ibethune]:
 > {{{
 > Iains-MacBook-Pro:Desktop ibethune$ g++ -v
 -isysroot=/Developer/SDKs/MacOSX10.9.sdk/ -o test test.cpp
 > }}}

 The correct syntax is:

 {{{
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
 }}}

 That is to say, there is no equals sign between `-isysroot` and the
 sysroot path, and surely your SDKs are in the Xcode application and not
 anymore in /Developer which should no longer exist since OS X 10.7.

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


More information about the macports-tickets mailing list