[MacPorts] #48647: `port select gcc` sets default C++ compiler

MacPorts noreply at macports.org
Thu Aug 20 12:56:25 PDT 2015


#48647: `port select gcc` sets default C++ compiler
--------------------+--------------------------------
 Reporter:  john@…  |      Owner:  macports-tickets@…
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.3.3
 Keywords:          |       Port:  gcc_select
--------------------+--------------------------------
 Running (say) `port select gcc mp gcc5` creates `/opt/local/bin/cpp` and
 `c++` symlinks to the specified version of GCC. This is not the behaviour
 I expected.

 It seems like this command should set the default version invoked with
 `g++`, but not "promote" GCC to be the default compiler. That is, it would
 create symlinks for `g++`, `gcc` etc, but not generic names like `c++`.
 This would be consistent with (for example) `clang_select`, which creates
 a `clang++` symlink but not `c++`.

-- 
Ticket URL: <https://trac.macports.org/ticket/48647>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list