[MacPorts] #30434: Should port select gcc also set ${prefix}/bin/cc?

MacPorts noreply at macports.org
Fri Sep 16 14:16:39 PDT 2011


#30434: Should port select gcc also set ${prefix}/bin/cc?
----------------------------+-----------------------------------------------
 Reporter:  ionic@…         |       Owner:  mww@…                                                              
     Type:  enhancement     |      Status:  new                                                                
 Priority:  Low             |   Milestone:                                                                     
Component:  ports           |     Version:  2.0.0                                                              
 Keywords:                  |        Port:  gcc_select apple-gcc42 gcc41 gcc42 gcc43 gcc44 gcc45 gcc46 gnat-gcc
----------------------------+-----------------------------------------------

Comment(by raimue@…):

 I am thinking about a separate group for `cc`. This would allow to choose
 between:

  * clang => /usr/bin/clang
  * llvm-gcc42 => /usr/bin/llvm-gcc-4.2
  * mp-clang => ${prefix}/bin/clang
  * mp-llvm-gcc42 => ${prefix}/bin/llvm-gcc-4.2
  * mp-gcc => ${prefix}/bin/gcc

 Adding a single symlink for gcc should be flexible enough as the version
 can be selected with the `gcc` group.

-- 
Ticket URL: <https://trac.macports.org/ticket/30434#comment:12>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list