看板 Fortran 關於我們 聯絡資訊
我是重拾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://www.ptt.cc/bbs/Fortran/M.1524211668.A.303.html
alen84204: Options starting with -g, -f, -m, -O, -W, or 04/21 12:53
alen84204: --param are automatically passed on to 04/21 12:54
alen84204: the various sub-processes invoked by gfortran. 04/21 12:54
alen84204: In order to pass other options on to these processe 04/21 12:54
alen84204: the -W<letter> options must be used. 04/21 12:54
fragmentwing: 等等 你exe這樣編是不是放錯了 應該跟f90一樣 被編 04/18 11:14
fragmentwing: 譯檔在前 編譯檔命名名稱在-o後 04/18 11:14