aboutsummaryrefslogtreecommitdiff

FastCGI program in Fortran

This is a template FastCGI program written in Fortran. It uses libfcgi, so no magic here ;)

Interface to libfcgi is taken from the Flibs collection.

Building

libfcgi is required. Building is tested with GNU Fortran only.

The build is based on CMake, but if you wish:

$ gfortran -I src/3rd/flibs/src/datastructures src/3rd/flibs/src/cgi/*.f90 src/main.f90 -lfcgi -o fortran-fcgi

Building with CMake:

$ mkdir build
$ cd build
$ cmake ..
$ make