Hi all, Please forgive-me the ignorance if this seems to simple a question.
I installed gcc4.8 from MacPorts, and now I want to use its compilers, especially gfortran. However, although they are in the path, their names are different, such as "gfortran-mp-4.8", such as they are not seen when the command "gfortran" is issued. I tried to see what is working and got: $ port select --list gcc Available versions for gcc: mp-gcc48 none (active) however, for gfortran: $ port select --list gfortran Warning: Unable to get active selected version: The specified group 'gfortran' does not exist. Error: The 'list' command failed: The specified group 'gfortran' does not exist. I tried to activate the MacPorts gcc set by: $ sudo port select --set gcc mp-gcc48 Password: Selecting 'mp-gcc48' for 'gcc' succeeded. 'mp-gcc48' is now active. And now the correct gcc is working: $ which gcc /opt/local/bin/gcc however, still nothing is set for gfortran: $ which gfotran $ (returns nothing) So, my question is this: how should I activate the whole gcc48 set? Especially, I need to use gcc/gfortran. BTW, shouldn't this be activated by default when I install gcc48? Thanks, Gustavo Seabra <http://goo.gl/7Cphf>
_______________________________________________ macports-users mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-users
