compiler construction - How to compile Fortran 77 files in linux? -
I need a compiler for Fortran 77 in Linux.
Is any free compiler used from there?
I have heard about g77, but I can not find an RPM or how to install it in Linux.
Thank you!
The name of the Fortran Compiler of GCC has changed: g77
Gfortran
, which handles Fortran 95 and possibly more recent versions.
The package in Ubuntu is called gfortran
:
sudo apt-get install gortionran
(Or use synaptic)
In Fedora, the package is called gfortran and is part of the gcc, which you probably already have:
sudo yum install gcc < / Code>
(or use pirut)
Similar searches should also work for your distribution.
Update: The package is called gcc4-gfortran
at RedHat 4.1.2. Incidentally, you should be able to do this searching with yum, and this may be the best answer to your question:
yum search "* fortran *"
Comments
Post a Comment