为什么gghran在cygwin下无法正确编译?

时间:2014-03-04 11:59:13

标签: cygwin gfortran

我在windows和gfortran包下安装了cygwin。

然后我写了一个简单的f90文件

program test
implicit none
write(*,*) "hello world"
end program test

该文件名为test.f90

然后我打开cygwin终端并写

gfortran -o test.exe test.f90

一切似乎都没问题,没有错误,并且生成了一个test.exe。

但是

./test.exe

没有输出任何内容。有什么问题?

test.exe是共享的here

0 个答案:

没有答案
相关问题