Andronix.app: Running Linux on Android

https://andronix.app/

The Power of Linux on Android.

Run full-fledged Linux Distros right on your Android device without rooting. Then enter

apt install gfortran

then eg

gfortran filename.f -o filename

then

./filename
4 Likes

calgo.acm.org/365.gz process and run on Ubuntu 18 on Termux app on Android Go on ZTE Blade35. - YouTube) demonstrates gfortran on a ubuntu linux on android go shirt pocket size smartphone.

1 Like

Nice!
Have you made some speed workbench on your smartphone? A comparison with a PC would be interesting.

1 Like

There is also Termux project that provides Linux environment on Android devices.

Unfortunately this this project droped GCC in favor of LLVM+Clang so gfortran was dropped too. But now it’s packages base has:

~ $ pkg search fortran
...
flang/stable 15.0.1 aarch64
  LLVM's Fortran frontend

lfortran/stable 0.16.0-1 aarch64
  A modern open-source interactive Fortran compiler