On Sunday 16 February 2003 11:53 pm, laura wrote: > I'm new in Linux. Before asking, I tried to use g77 or f77, but I don't > have them on the computer. I have the gcc installed and I can compile C > programs without problems, but I can't compile Fortran programs. I only > wanted to know where I can find this compiler. > > Laura. > > Jerry Barton escriu: > > On Mon, 17 Feb 2003 07:30:50 GMT > > > > "laura" <[EMAIL PROTECTED]> wrote: > >> Hi, > >> > >> I want to install a Fortran compiler. Where can I find one of them? > >> > >> Thanks. > >> > >> Laura. > > > > gcc-g77 > > > > from software installer: > > > > Name: gcc-g77 > > Version: 3.2-1mdk > > Size: 3746 KB > > > > Summary: Fortran 77 support for gcc > > > > Description: This package adds support for compiling Fortran 77 programs > > with the GNU compiler. > > > > If you have multiple versions of GCC installed on your system, it is > > preferred to type "g77-$(gcc3.2-version)" (without double quotes) in > > order to use the GNU Fortran 77 compiler version 3.2. > > > > Files: > > /usr/bin/f77 > > /usr/bin/g77 > > /usr/bin/g77-3.2 > > /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/f771 > > /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/include/g2c.h > > /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/libfrtbegin.a > > /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/libg2c.a > > /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/libg2c.so > > /usr/share/doc/gcc-g77-3.2 > > /usr/share/doc/gcc-g77-3.2/ChangeLog.0.f > > /usr/share/doc/gcc-g77-3.2/ChangeLog.f > > /usr/share/doc/gcc-g77-3.2/ChangeLog.libf2c > > /usr/share/doc/gcc-g77-3.2/README > > /usr/share/man/man1/g77.1.bz2 > > -- > > Registered Linux user # 300600 > > Registered Linux machine # 185855 > > at http://counter.li.org > > (o_ > > //\ > > V_/_ IF you installed linuxfrom Mandrake CDs. put CD 1 in and boot, selecting "expert" and "Upgrade". At package selection time, go for individual package selections and DO NOT NEGLECT all the wonderful compilers in the flat list, plus a c interpreter.
Cim--Simula Smalltalk hugs--Glasgow Haskell gcc-g77 gcc-gnat (ADA by another name) p2c -- one form of pascal (there is another) And when you are done with those then go here: ftp://ftp.nluug.nl/pub/os/Linux/distr/Mandrake/Mandrake-devel/contrib/RPMS and you will find bigForth, f2c (fortran to C translator which can be piped into a compile), ftnchek (like "lint" for Fortran), and several development programs for lam (Local area Multicomputer which cause compiled programs to be run distributed over several computers). You download the rpms and then install them from the command line su'ed to root with rpm -ivh, and at the same time you learn about the rpm packaging system and "dependencies" There are interpreters which should not be overlooked since many of then rival compiled programs for speed, particularly Perl, Python, and Ruby, but you might want to Google for Pike. There are also several commercial packages. A very cursory search reveals these.... http://www.nikhef.nl/~templon/fortran.html -- links to many sites open source or commercial. There you will find f77, f90, f95 and F (a subset which discards some things from f77 such as EQUIVALENCE) as well as several HPF/HPF 2.0 packages and comparisons of users experiences with several. pg77 is there, too, which produces Pentium-class code from fortran77 programs. Civileme I grew up with Fortran, back in the days when there were compilers such as Fortran-IV, Fortran-G, Fortran-H, Fortran-IV with Watfor and WatFIV... It is still an interesting compiler and language, but these days I use almost exclusively Python because I am a baaaad habit programmer and I need something that forces me to code cleanly and clearly, even at the expense of features. If that isn't enough
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
