I used the following commands to install g77 compiler on Ubuntu 19.04:
sudo gedit /etc/apt/sources.list
Then to the bottom of that file I added:
deb [trusted=yes] old-releases.ubuntu.com/ubuntu hardy universe
deb-src [trusted=yes] old-releases.ubuntu.com/ubuntu hardy universe
deb [trusted=yes] old-releases.ubuntu.com/ubuntu hardy-updates universe
deb-src [trusted=yes] old-releases.ubuntu.com/ubuntu hardy-updates universe
Then:
sudo apt update
sudo apt install g77
I also tried:
sudo apt update
sudo apt install fort77 gfortran
When using 'make' command to install the HypoDD double-difference earthquake hypocenter location program, these lines appear:
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
When using this command:
find /usr/ -name crti*
I found these files existed in the following path:
/usr/libx32/crti.o
/usr/mipsel-linux-gnu/lib/crti.o
/usr/lib32/crti.o
/usr/lib/x86_64-linux-gnu/crti.o
How can I solve this problem to run the 'make' command?
I solved the problem using the instructions in: http://seanelvidge.com/2017/01/install-g77-on-ubuntu-14-04/ as follows:
then adding to the end of the file
save and close then