|||
在这个网站https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62049
找到下载链接:
http://users.humboldt.edu/finneyb/gfortran-windows-20140629.exe下载好后解压安装。
另外这个网站提供了几个不同系统的安装版本:
https://gcc.gnu.org/wiki/GFortranBinaries
这里有详细的使用说明:
https://gcc.gnu.org/wiki/GFortranBinariesWindows
------------------------------------------------------------------
软件安装完后,编译自己的fortran文件
在cmd窗口中进入fortran文件所在的目录,如:
C:>cd /D F:MacCopyVTri6_WD 2lcdc2015
F:MacCopyVTri6_WD 2lcdc2015>gfortran dc22may2015flop.f -o dctest
生成dctest.exe,点击即可运行fortran程序。
2016-12-10@BNU
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-9-23 09:05
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社