Package f2c-20090414-2
| System | Binary Distributions | CVS/rsync Source Distributions | |
|---|---|---|---|
10.8/x86_64 | |||
10.7/x86_64 | 20090414-2 | ||
10.6/x86_64 | |||
10.6/i386 | |||
10.5/i386 | |||
10.5/powerpc | |||
| Description: | Convert Fortran 77 source code to C (20090414-2) | |
| Usage Hints: | ||
f2c converts f77 source code to C, which can then be compiled with a C
compiler. The shell script fc does both, conversion to C and compilation.
It acts very much like a 'real' compiler. The fort77 package
provides a perl script with similar, but added, functionality.
To test:
f2c myprog.f
cc -O2 -I $PREFIX/include -L$PREFIX/lib -lf2c -o myprog myprog.c
./myprog
or:
setenv F2CFLAGS {any flags you want fc to pass to f2c here}
fc -O -o myprog myprog.f
./myprog
where $PREFIX is the root of fink's directory hierarchy (/sw by default). | ||
| Section: | languages | |
| Maintainer: | Karl-Michael Schindler <karl-michaelDOTschindlerATwebDOTde> | |
| Website: | http://www.netlib.org/f2c | |
| License: | OSI-Approved | |
| Info-File: | dists/10.7/stable/main/finkinfo/languages/f2c.info CVS log, Last Changed: Thu, 21 Jul 2011 15:10:17 (UTC) | |
Section list - Flat package list - Search packages
(*) = Unsupported distribution.