#30434: Should port select gcc also set /usr/bin/cc? ----------------------------+----------------------------------------------- Reporter: ionic@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Low | Milestone: Component: base | Version: 2.0.0 Keywords: select gcc | Port: ----------------------------+----------------------------------------------- Comment(by ryandesign@…): Replying to [comment:2 ionic@…]:
"Software by default builds using "gcc" (or, equivalently, "cc") and this can be a problem if the user has changed what this is." - and that's what I'm adressing.
The correct way to address this issue is for the authors of every port to ensure they're UsingTheRightCompiler. Neither "port select gcc" nor anything else in MacPorts should modify /usr/bin/anything. /usr/bin is for Apple to modify, and nobody else. -- Ticket URL: <https://trac.macports.org/ticket/30434#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS