質問編集履歴
1
試したこと4)を追記いたしました.
title
CHANGED
File without changes
|
body
CHANGED
@@ -41,6 +41,14 @@
|
|
41
41
|
print *, "Hello, world"
|
42
42
|
stop
|
43
43
|
end Program hello
|
44
|
+
4)ファイル名をhello.f90.txtに変更して実行したところ以下のようなエラーに変わりました.
|
45
|
+
C:\Users\ユーザー名i\Documents\fortran\hello>gfortran hello.f90.txt
|
46
|
+
C:/Program Files (x86)/mingw-w64/i686-8.1.0-win32-dwarf-rt_v6-rev0/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.1.0/../../../../i686-w64-mingw32/bin/ld.exe:hello.f90.txt: file format not recognized; treating as linker script
|
47
|
+
C:/Program Files (x86)/mingw-w64/i686-8.1.0-win32-dwarf-rt_v6-rev0/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.1.0/../../../../i686-w64-mingw32/bin/ld.exe:hello.f90.txt:1: syntax error
|
48
|
+
collect2.exe: error: ld returned 1 exit status
|
49
|
+
調べたところhttps://teratail.com/questions/89964こちらと似ていると考えたため,
|
50
|
+
再起動およびタスクマネージャーからa.exe を探したのですが見つからず,ファイルも探したのですが
|
51
|
+
見つけることができませんでした.
|
44
52
|
|
45
53
|
|
46
54
|
### 補足情報(FW/ツールのバージョンなど)
|