Fortran

The historic programming language fortran might already be installed with gcc on the computer. To verify it: gfortran --version

Write a hello world program:

program hello
    print *, "Hello, Fortran!"
end program hello

Compile it gfortran hello.f90 -o hello and run it ./hello

Note

Due to the long history of fortran, old fortran code might no more be compatible.


Linurs startpage