# Computing

A program that converts Fortran 77 code into C and a library that enables you to compile said C code.

Availability:

Instructions for users:

You almost certainly should not be using this program. We have lots of different, modern, Fortran compilers available here (gfortran and nagfor are available to all; most users of these systems also have access to pgf95, ifort, and path95. Finally g95 is there for the loading). This program was intended for use by people who only had a C compiler.

If you read the above and and you know exactly what you're doing and you still want to use it, here's how. 32 bit only, by the way. Assume your Fortran 77 code is in 'hello.f'.

 /usr/local/shared/f2c/f2c hello.f # creates hello.c gcc -m32 -o hello hello.c /usr/local/shared/f2c/libf2c.a # creates hello
Licence Details:

Open source and Free. Text in /usr/local/shared/f2c/LICENSE .

Documentation:

There's a readme file on netlib (see above)

Source: