gcc selecting does not update gfortran

Victor Eijkhout eijkhout at tacc.utexas.edu
Thu Apr 26 15:58:31 PDT 2012


[albook:~/Current/petsc-course/course20120514/fsolutions] %% port select gcc
Available versions for gcc:
        gcc42
        llvm-gcc42
        mp-gcc46 (active)
        mp-gcc48
        none
[albook:~/Current/petsc-course/course20120514/fsolutions] %% sudo port select --set gcc mp-gcc46
Selecting 'mp-gcc46' for 'gcc' succeeded. 'mp-gcc46' is now active.
[albook:~/Current/petsc-course/course20120514/fsolutions] %% gfortran --version
GNU Fortran (GCC) 4.8.0 20120415 (experimental)
Copyright (C) 2012 Free Software Foundation, Inc.

GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING

[albook:~/Current/petsc-course/course20120514/fsolutions] %% which gfortran 
/opt/local/bin/gfortran



More information about the macports-users mailing list