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

MacPorts noreply at macports.org
Sun Aug 19 16:03:53 PDT 2012


#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 ryandesign@…):

 With Xcode 4.4 on Mountain Lion, /usr/bin/cc is a link to Apple Clang 4.0,
 while /usr/bin/gcc is a link to llvm-gcc 4.2. This seems designed to
 guarantee that /usr/bin/gcc actually behaves mostly like the GNU C
 compiler, whereas /usr/bin/cc is merely a C compiler, that does not
 necessarily conform to the GNU C compiler's quirks. This distinction seems
 valuable.

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


More information about the macports-tickets mailing list