stedolan / minhttp Goto Github PK
View Code? Open in Web Editor NEWA tiny and surprisingly featureful webserver
A tiny and surprisingly featureful webserver
Hi Stephen,
Here is the output of trying to build on OSX:
marc@kingboo ~/dev/minhttp $ gcc minhttp.c
minhttp.c:1:81: error: sys/sendfile.h: No such file or directory
minhttp.c: In function ‘main’:
minhttp.c:35: warning: passing argument 4 of ‘sendfile’ makes pointer from integer without a cast
minhttp.c:35: error: too few arguments to function ‘sendfile’
marc@kingboo /dev/minhttp $ gcc -v123/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5666.3
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
Hope to support command line parameters, such as - P set port, - D set path, t set the title of the page display, thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.