欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

c语言实现fastcgi

程序员文章站 2024-02-21 15:14:46
...

参考

fastcgi官网
使用VS2010的nmake命令编译MakeFile流程
visual studio 2017 Community nmake
Fastcgi
fastcgi c/c++ API 说明

使用

fastcgi官网迁移到了github了,下载FastCGI Developer’s Kit,编译,

$ ./autogen.sh
$ ./configure --prefix=/cygdrive/c/dog/program/cgi/fcgi2-2.4.2/install LDFLAGS=-L/lib/w32api
$ make
$ make install
$ ls install
bin  include  lib
$ ls install/bin/
cgi-fcgi.exe  cygfcgi++-0.dll  cygfcgi-0.dll
$ ls install/include/
fastcgi.h  fcgi_config.h  fcgi_stdio.h  fcgiapp.h  fcgimisc.h  fcgio.h  fcgios.h
$ ls install/lib
libfcgi.a  libfcgi.dll.a  libfcgi.la  libfcgi++.a  libfcgi++.dll.a  libfcgi++.la  pkgconfig
$ ls examples/ | grep exe
authorizer.exe
echo.exe
echo-cpp.exe
echo-x.exe
log-dump.exe
size.exe
threaded.exe
相关标签: c fastcgi