Re: set default gcc among different versions

2013-11-18 Thread Gmail
Hi vq Thank you so much. I can run gfortran-mp-4.8 directly. In that case, I do not need to make it as default fortran compiler. Thank you Bruce On Nov 18, 2013, at 1:11 AM, Lawrence Velázquez lar...@macports.org wrote: On Nov 18, 2013, at 2:00 AM, Gmail yangz...@gmail.com wrote: I have

set default gcc among different versions

2013-11-17 Thread Gmail
Hi all I have installed 2 versions of gcc. One is from Mac BUILT-IN. The other one is from macports. So how can I make the gcc installed by macports as the default gcc while I compile c program? BTW, in the /opt/local/bin directory, I can find gcc-mp-4.8 and gfortran-mp-4.8, instead of gcc and

Re: set default gcc among different versions

2013-11-17 Thread Lawrence Velázquez
On Nov 18, 2013, at 2:00 AM, Gmail yangz...@gmail.com wrote: I have installed 2 versions of gcc. One is from Mac BUILT-IN. The other one is from macports. So how can I make the gcc installed by macports as the default gcc while I compile c program? BTW, in the /opt/local/bin directory, I