Install g77fortrancomplier on Linux

Source: Internet
Author: User
Install g77fortrancomplier on Linux-general Linux technology-Linux programming and kernel information. For details, refer to the following section. 1. Go to ftp://ftp.ntu.edu.tw/pub/gnu/gnu/g77to download g77-0.5.23.tar.gz
Go to ftp://ftp.ntu.edu.tw/pub/gnu/gnu/gccto download gcc-2.8.1.tar.gz
Confirm that the two are compatible with the version g77-0.5.23.tar.gz and gcc-2.8. * .tar.gz)
You can first unzip the g77-0.5. * .tar.gz and then view the./f/INSTALL file in the folder to view the gcc version compatible with it.

2. Create a directory named FSF under/usr/as root, as shown in the following instructions:
# Cd/usr
# Mkdir FSF
Move the two downloaded files to the FSF directory.
# Music g77-0.5.23.tar.gz/usr/FSF
# Music gcc-2.8.1.tar.gz/usr/FSF

3. Proceed with the following instructions and do not change any details:
# Cd/usr/src
# Gunzip-c </usr/FSF/gcc-2.8.1.tar.gz | tar xf-(note | pipe)
# Gunzip-c </usr/FSF/g77-0.5.23.tar.gz | tar xf-
# Ln-s gcc-2.8.1 gcc
# Ln-s g77-0.5.23 g77
# Mv-I g77/* gcc
# Cd gcc
#./Configure? Prefix =/usr
# Make bootstrap)
# Make compare
# Rm-fr stage1
# Make-k install
# G77-v (check whether the g77 version has been installed)

4.for details, see the./g77-0.5.23/f/INSTALL file after unzipping g77-0.5.23.tar.gz.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.