[MacPorts] #43734: *gcc*, gcc_select: add symlink for ${prefix}/bin/cc

MacPorts noreply at macports.org
Mon May 19 09:17:41 PDT 2014


#43734: *gcc*, gcc_select: add symlink for ${prefix}/bin/cc
-------------------------+-------------------
  Reporter:  ionic@…     |      Owner:  mww@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  gcc_select  |
-------------------------+-------------------

Comment (by ionic@…):

 A `compiler_select` target doesn't sound bad. But it shouldn't be limited
 to `bin/cc{,++}` only. Instead, it should (also) set up
 - `bin/cc`
 - `bin/c++`
 - `bin/cpp`
 - `bin/gcc`
 - `bin/g++`

 to really have some consistency in there.
 `bin/gcc` and `bin/g++` may look weirdly when not provided by `gcc` but
 instead, e.g., `clang`, but "that's what Apple does" as well and it makes
 sense, as `clang` and others are (mostly) GCC-compliant, and that's what
 matters.

 Likewise, those links mentioned above should be removed from the `*gcc*`
 ports' select files (that is, those files installed in
 `${prefix}/etc/select/gcc/`) and moved, still within the `*gcc*` ports, to
 the `compiler_select` group in `${prefix}/etc/select/compiler/`.

 A new port for `compiler_select` is then providing base (and basically the
 other stuff `gcc_select` and `clang_select` already provide for internal
 compilers not installed by MacPorts.)

 What about this?

-- 
Ticket URL: <https://trac.macports.org/ticket/43734#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list