Problems with "Hello World"
Daniel Carrera
dcarrera@gmail.com
Sun Sep 19 10:10:00 GMT 2010
Hello,
I cannot figure out how to join your mailing list (all I can find is
the mailing list archives). I'm getting started with gfortan and I
can't even compile "Hello World":
---------------%<---------------
$ cat hello.f
program hello
print *,"Hello world!"
end program hello
$ gfortran hello.f -o hello
hello.f:1.1:
program hello
1
Error: Non-numeric character in statement label at (1)
hello.f:1.1:
program hello
1
Error: Unclassifiable statement at (1)
hello.f:3.1:
end program hello
1
Error: Non-numeric character in statement label at (1)
hello.f:3.1:
end program hello
1
Error: Unclassifiable statement at (1)
Error: Unexpected end of file in 'hello.f'
---------------%<---------------
GGrrrr... I can't figure out what's wrong. This is the simplest
program I can write and I have no idea what the compiler is
complaining about. Help?
Daniel.
More information about the Fortran
mailing list