mirror of
https://github.com/cesanta/mongoose.git
synced 2025-01-18 15:13:00 +08:00
Added -pthread flag to unix compilation example
This commit is contained in:
parent
e0aceb4f3a
commit
2f0b411ddd
@ -27,8 +27,8 @@ To compile it, put `mongoose.c`, `mongoose.h` and `app.c` into one
|
||||
folder, start terminal on UNIX or Visual Studio command line prompt on Windows,
|
||||
and run the following command:
|
||||
|
||||
cc app.c mongoose.c -o app # on Unix
|
||||
cl app.c mongoose.c /TC /MD # on Windows
|
||||
cc app.c mongoose.c -pthread -o app # on Unix
|
||||
cl app.c mongoose.c /TC /MD # on Windows
|
||||
|
||||
When run, this simple application opens port 8080 and serves static files,
|
||||
CGI files and lists directory content in the current working directory.
|
||||
|
Loading…
Reference in New Issue
Block a user