summaryrefslogtreecommitdiffstats
path: root/development/f2c/README
diff options
context:
space:
mode:
Diffstat (limited to 'development/f2c/README')
-rw-r--r--development/f2c/README22
1 files changed, 15 insertions, 7 deletions
diff --git a/development/f2c/README b/development/f2c/README
index f0e77ae559..5f2431f228 100644
--- a/development/f2c/README
+++ b/development/f2c/README
@@ -1,14 +1,22 @@
+
f2c is a Fortran-to-C converter.
-This package includes libf77 and libi77 rolled together as libf2c,
-which must be linked to the resulting C code. Thus the general idea
-is
+This package includes libf2c, which must be linked to the resulting C
+code.
- f2c foo.f
- gcc foo.c -lf2c
+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.
-If combining with gfortran, you may want to use gfortran's -ff2c
-option. See the gfortran man page.
+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.
+