我在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