Fortran support


Any chance we could get fortran support? gcc should compile fortran files competently but I get this error:

gcc: error trying to exec ‘f951’: execvp: No such file or directory

My guess is that it was stripped to save on container size? Any change of getting it back in there?


you can install fortran, with sudo apt-get install gfortran

mucc:~/workspace $ sudo apt-get install gfortran
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package gfortran is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gfortran' has no installation candidate


run sudo apt-get update before sudo apt-get install ... like this:

sudo apt-get update
sudo apt-get install gfortran -y

to test it create hello.f file

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

then run

gfortran -ffree-form hello.f


Thanks this got me rollin