On Mon, Oct 21, 2013 at 2:57 PM, chamm <[email protected]> wrote:

> I think that I am turning on the compiler here:
>
> sudo port select --set gcc mp-gcc45
>
> but when I enter gcc -v I see that the old mac version is still default.
>

Did you `hash -r` first, or open a new terminal? Shells (bash, ksh, tcsh,
zsh) remember where they saw programs; neither MacPorts nor any other
package manager can do anything about it, you must start a new shell or use
`hash -r` (or in some shells `rehash`) to make it forget the old location.

-- 
brandon s allbery kf8nh                               sine nomine associates
[email protected]                                  [email protected]
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to