作者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/m.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