how to install g77 on ubuntu 12.04
Posted
by
ubuntu-beginner
on Ask Ubuntu
See other posts from Ask Ubuntu
or by ubuntu-beginner
Published on 2012-10-30T11:09:55Z
Indexed on
2012/10/30
11:20 UTC
Read the original article
Hit count: 554
compiler
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
© Ask Ubuntu or respective owner