summaryrefslogtreecommitdiff
path: root/development/f2c/README
diff options
context:
space:
mode:
authorJudah Milgram <milgram@cgpp.com>2017-06-18 23:20:09 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2017-06-18 23:34:13 +0100
commit42c6070f42e5f694c36c9e3668d0af6510c8d606 (patch)
tree42d41f1c7863f91a5bbf5d2c8078374511b4d644 /development/f2c/README
parent9154ca99911510a91fb42e865ddd33edadd0593c (diff)
downloadslackbuilds-42c6070f42e5f694c36c9e3668d0af6510c8d606.tar.gz
development/f2c: Added (Fortran-to-C converter).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/f2c/README')
-rw-r--r--development/f2c/README13
1 files changed, 13 insertions, 0 deletions
diff --git a/development/f2c/README b/development/f2c/README
new file mode 100644
index 0000000000..ed89051435
--- /dev/null
+++ b/development/f2c/README
@@ -0,0 +1,13 @@
+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.
+
+If combining with gfortran, you may want to use the gfortran -ff2c
+option. See the gfortran man page.