how to install g77 on ubuntu 12.04
- by ubuntu-beginner
I want a workin g77 compiler on my Ubuntu 12.04 64 bit laptop.
so did the following:
1. I change the sources.list by adding the following lines:
deb http...hu.archive.ubuntu.com/ubuntu/ hardy universe
deb-src ..//hu.archive.ubuntu.com/ubuntu/ hardy universe
deb http:...hu.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src ..//hu.archive.ubuntu.com/ubuntu/ hardy-updates universe
then I on a terminal i did the following:
sudo apt-get update
sudo apt-get install g77
Things looked very nice then. But when I tried to compile with g77 on my Fortran77 program. I got the following errors:
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
Why doesn't the g77 work properly. Many people need g77 why cannot Ubuntu offer a workable g77 ?
Please Help me !
Thanks from a ubuntu-beginner