我的Linux是 Redhat 9 Kernel2.4.20-8
运行g77 -v 显示 gcc version 3.2.2 20030222 (Red hat Linux 3.2.2-5)
for程序为 hydra.for 位于 /home/hydra下
内容如下:
PROGRAM MAIN
WRITE(*,*) 'HYDRATEST'
END
g77 -o hydra hydra.for 后 显示出错信息如下:
[[email protected]:1:
PROGRAM MAIN
^
Invalid first character at (^) [info -f g77 M LEX]
hydra.for:2:
WRITE(*,*) 'HYDRATEST'
^
Invalid first character at (^) [info -f g77 M LEX]
hydra.for:3:
END
^
Invalid first character at (^) [info -f g77 M LEX]