aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-10-29 19:17:19 +0200
committerIgor Pashev <pashev.igor@gmail.com>2019-10-29 19:17:19 +0200
commitc6c4a50986494a8f20eee4dbd30f05d144352761 (patch)
tree4e33ae0d9647bbe767d25eb0bd551bf3aa3a4e5a /README.md
downloadfortran-fcgi-c6c4a50986494a8f20eee4dbd30f05d144352761.tar.gz
Intial version
Diffstat (limited to 'README.md')
-rw-r--r--README.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..b5400c7
--- /dev/null
+++ b/README.md
@@ -0,0 +1,30 @@
+FastCGI program in Fortran
+==========================
+
+This is a template [FastCGI](https://en.wikipedia.org/wiki/FastCGI) program written in Fortran.
+It uses [libfcgi](https://packages.debian.org/source/sid/libfcgi), so no magic here ;)
+
+Interface to `libfcgi` is taken from the [Flibs collection](http://flibs.sourceforge.net/).
+
+
+Building
+========
+
+`libfcgi` is required. Building is tested with [GNU Fortran](https://gcc.gnu.org/fortran/) only.
+
+
+The build is based on [CMake](https://cmake.org/), but if you wish:
+
+```sh
+$ gfortran -I src/3rd/flibs/src/datastructures src/3rd/flibs/src/cgi/*.f90 src/main.f90 -lfcgi -o fortran-fcgi
+```
+
+Building with CMake:
+
+```sh
+$ mkdir build
+$ cd build
+$ cmake ..
+$ make
+```
+