aboutsummaryrefslogtreecommitdiff
path: root/development/f2c/README
diff options
context:
space:
mode:
authorJudah Milgram <milgram / cgpp / com>2024-05-28 22:59:22 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-05-28 23:09:10 +0700
commit2b19444e406ee33d84c68b6253882320493ae58a (patch)
tree33318224904976a492351770280dd448e5572c95 /development/f2c/README
parent8ff6bd82e0cf996c1b71f90799d2ca2589df9739 (diff)
development/f2c: Updated for version 20240504.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/f2c/README')
-rw-r--r--development/f2c/README15
1 files changed, 9 insertions, 6 deletions
diff --git a/development/f2c/README b/development/f2c/README
index 61f28bde6fc8..20c7be39ba7e 100644
--- a/development/f2c/README
+++ b/development/f2c/README
@@ -4,19 +4,22 @@ 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
+The general idea is: f2c foo.f; gcc foo.c -lf2c -lm
Or use the fc script provided in the docs directory. Beware, fc is
also an (unrelated) bash builtin.
-f2c used to use two separate libraries, libi77 and libf77. These are
-now rolled together into libf2c. NB libf2c carries a separate version
-number from f2c itself. The version number associated with the
+f2c once used two separate libraries, libi77 and libf77. These are
+now rolled together into libf2c. NB libf2c carries separate version
+numbers 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.
+The official Netlib repository provides only the most recent version,
+with no renaming of files on update. To avoid checksum errors
+following each f2c update, the .info file points to a unofficial,
+version-specific tarball maintained at a third-party site.
+This SlackBuild builds only the shared library.