作者takaoclass (高雄级)
看板Fortran
标题[问题] f90档编译问题求助
时间Fri Apr 20 16:07:45 2018
我是重拾fortran不久的新手,
我在putty上用vi编辑器写了一只f90档,
用gfortran hello.f90和gfortran -o k.exe hello.f90编译时,
都得到以下错误讯息:
Error: Unexcepted end of file in 'hello.f90'
可是我用gfortran指令编译f档却毫无问题,
请哪位高手给我指点一下,感谢!
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 140.112.66.242
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Fortran/M.1524211668.A.303.html
1F:→ alen84204: Options starting with -g, -f, -m, -O, -W, or 04/21 12:53
2F:→ alen84204: --param are automatically passed on to 04/21 12:54
3F:→ alen84204: the various sub-processes invoked by gfortran. 04/21 12:54
4F:→ alen84204: In order to pass other options on to these processe 04/21 12:54
5F:→ alen84204: the -W<letter> options must be used. 04/21 12:54
6F:→ fragmentwing: 等等 你exe这样编是不是放错了 应该跟f90一样 被编 04/18 11:14
7F:→ fragmentwing: 译档在前 编译档命名名称在-o後 04/18 11:14