slackbuilds/development/f2c
Heinz Wiesinger 63daf9f79a All: Support $PRINT_PACKAGE_NAME env var
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
2021-07-17 21:55:09 +02:00
..
README development/f2c: Fix VERSION. 2021-03-13 09:02:38 +07:00
f2c.SlackBuild All: Support $PRINT_PACKAGE_NAME env var 2021-07-17 21:55:09 +02:00
f2c.info development/f2c: Fix VERSION. 2021-03-13 09:02:38 +07:00
slack-desc development/f2c: Fix VERSION. 2021-03-13 09:02:38 +07:00

README

f2c is a Fortran-to-C converter.

This package includes libf2c, which must be linked to the resulting C
code.

Thus the general idea is: f2c foo.f; gcc foo.c -lf2c

Or use the fc script provided in the docs directory. Beware, fc is also
a bash builtin.

f2c used to use two separate libraries, libi77 and libf77. These are
now rolled together into libf2c.  Beware, libf2c carries a separate
version number from f2c itself. The version number associated with the
SlackBuilds package is the f2c version number.

If combining with gfortran, you may want to use gfortran -ff2c. See the
gfortran man page.

Multiple files must be downloaded because netlib doesn't provide a
convenient single tarball.