We'll assume you have gfortran, the most current Fortran compiler for gcc.
Tradition!
! Writes "Hello, World" to standard output. program hello write (*, '(A12)') 'Hello, World' end
Another classic: