Perhaps someone can assist me make gfortran-7 as the alternative to gfortran-5. The installer sets your PATH environment variable, so that simply typing gfortran in a command prompt will run the compiler. Download the installer, and run it (accept the GNU Public License, choose an directory to install gfortran, and let it work for you). I am now trying to figure out how to make gfortran-7 the default, currently -version shows gfortran-5. Stand-alone gfortran binaries for Windows are available as an installer. Perhaps because of gcc-7, gofrtran-7 has installed. Thank you all Perhaps someone can assist me make gfortran-7 as the alternative to gfortran-5. I am now trying to figure out how to make gfortran-7 the default, currently -version shows gfortran-5. I managed to install gfortran-7 with sudo apt-get install gfortran sudo apt-get install gfortran Previously it did not work. Use VSCode with the WSL remote development extension and a Fortran syntax highlighter for editing. Hello again, my apologies to those who have spent time looking at my problem. If you’re just getting started, use the Windows Subshell for Linux (WSL) and install gfortran using apt. Installing gfortran from gcc source, which provides for specifying languages to be installed gives an error (sfp-exceptions.c) at the make stage.ĭoes anyone know how I can have gfortran-7 installed. I have successfully installed gcc-7 with sudo sed -i 's/xenial/zesty/g' /etc//ubuntu-toolchain-r*.list
0 Comments
Leave a Reply. |