Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have certain old codes in fortran which can be compiled with g77 only. Also some of the old softwares like pgplot requre g77 to be present for installation.
It would be great if I knew how to install g77 on suse 11.1. I have gcc version 4.3. I tried a couple of rpms, but all of them fail because of dependency issues. Apparently, g77 requires an older version of gcc.
Indeed, the g77 compiler was integrated in release 3.x of gcc. Since release 4.x the g77 compiler has been replaced by gfortran. You can use gfortran to compile programs following the Fortran77 standard. If you want to strictly compile them in the old way, you can use the -ff2c flag, which "generates code designed to be compatible with code generated by g77 and f2c". If you need the g77 command to compile old software, you can just create a symbolic link:
I have certain old codes in fortran which can be compiled with g77 only. Also some of the old softwares like pgplot requre g77 to be present for installation.
It would be great if I knew how to install g77 on suse 11.1. I have gcc version 4.3. I tried a couple of rpms, but all of them fail because of dependency issues. Apparently, g77 requires an older version of gcc.
Please help!
you can always compile an older version of gcc (with g77) from source, but make sure you give it a different prefix path than your default version of gcc.
I have certain old codes in fortran which can be compiled with g77 only. Also some of the old softwares like pgplot requre g77 to be present for installation.
It would be great if I knew how to install g77 on suse 11.1. I have gcc version 4.3. I tried a couple of rpms, but all of them fail because of dependency issues. Apparently, g77 requires an older version of gcc.
Please help!
Did you try going into YAST? Under Yast->Software->"Software Management", type in "fortran" in the search box. Select what you want, click ACCEPT. That's it.
I have suse 11.1 on my laptop too, and I was able to install the older g77 with the new gcc 4.3. And I could not do the same on my desktop( though I have gfortran installed now, and it works perfectly). The only difference between my laptop and desktop is that my laptop has 32-bit architecture, while the desktop is 64-bit.
I am curious if this has something to do with the problem. Answer if you have the time and the will !!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.