#35380: mp-gcc fails to work on Mountain Lion -------------------------------+-------------------------------------------- Reporter: rosssmith@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: mountainlion Port: gcc47 | -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * cc: mdanger007@… (added) * status: new => closed * resolution: => fixed Comment: Replying to [comment:4 ryandesign@…]:
Indeed the port should be updated for Mountain Lion, however the only thing that has to do with is whether you're able to select compilers that came with Xcode.
Done in r96842 (maintainer timeout). Replying to [comment:5 rosssmith@…]:
I suspect there was a bug in Apple's CL tools installeer that somehow broke macport's gcc select, at least for some people, and got fixed by Apple in the couple of days between my first attempt and today.
There were indeed some problems with Apple's command line tools installer for Xcode 4.4 as initially released, but these should by now have been resolved. Ensure you've updated to Xcode 4.4.1 and gone back to Xcode's Preferences window's Downloads section to update your command line tools to the latest version. Replying to [comment:6 mdanger007@…]:
With mountain lion, you're gonna need to manually install a fortran compiler. i'm using g77.
We would not recommend installing a standalone fortran compiler; it might interfere with MacPorts. Instead, install a gcc port, like gcc47, and use its fortran compiler. Replying to [comment:7 mparchet@…]:
I'm looking for to use gcc47 in xcode to compile a c project but I can't select gcc47 in the compilator menu. I can only select the apple compile old version.
This question is not related to this ticket. -- Ticket URL: <https://trac.macports.org/ticket/35380#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS