how long does it take to build gcc45?

Ryan Schmidt ryandesign at macports.org
Sun Dec 5 21:29:57 PST 2010


On Dec 5, 2010, at 22:00, Gabriele Kahlout wrote:

> I've uninstalled and installed and finally, in 3 hours gcc45 compiled.

That sounds about right.

> Now how do I install it?

You just did. :) 

> I.e. how do I make it such g++ -v returns 4.5 and not 4.2?

Ah, I see:

> Sounds simple but my removing of g++ alias in usr/bin and replacement with a g++ that links to g++-mp-4.5 tells me that g++ is not executable. What was I supposed to do?

Install the gcc_select port, then run gcc_select. It will manage the symlinks for you (though in ${prefix}/bin, not in /usr/bin; you should undo any changes you made in /usr/bin).




More information about the macports-users mailing list