select a gcc sompiler

chamm topher.hamm at gmail.com
Mon Oct 21 11:57:56 PDT 2013


I seem to be unable to select a macports downloaded gcc compiler. The Apple
XCode supplied compiler doesn't work with the program I want to compile
(MrBayes), so I downloaded one that should work from MacPorts. I'm new to
macports and could use some help. 

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. 

How do I compile a program using gcc4.5?

Thanks in advance



--
View this message in context: http://mac-os-forge.2317878.n4.nabble.com/select-a-gcc-sompiler-tp231987.html
Sent from the MacPorts - Users mailing list archive at Nabble.com.


More information about the macports-users mailing list