From c6c4a50986494a8f20eee4dbd30f05d144352761 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Tue, 29 Oct 2019 19:17:19 +0200 Subject: Intial version --- README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 README.md (limited to 'README.md') 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 +``` + -- cgit v1.2.3