Skip to content
Snippets Groups Projects
Commit 0007e47c authored by Sergey Lyubka's avatar Sergey Lyubka
Browse files

Build command re-worded

parent 4708cce8
No related branches found
No related tags found
No related merge requests found
...@@ -23,13 +23,11 @@ Here's a minimal application `app.c` that embeds mongoose: ...@@ -23,13 +23,11 @@ Here's a minimal application `app.c` that embeds mongoose:
} }
To compile it, put `mongoose.c`, `mongoose.h` and `minimal.c` into one To compile it, put `mongoose.c`, `mongoose.h` and `minimal.c` into one
folder, then run the following UNIX command: 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 cc app.c mongoose.c -o app # on Unix
cl app.c mongoose.c /TC /MD # on Windows
If you're on Windows, run this in a Visual Studio shell:
cl app.c mongoose.c /TC /MD
When run, this simple application opens port 8080 and serves static files, When run, this simple application opens port 8080 and serves static files,
CGI files and lists directory content in the current working directory. CGI files and lists directory content in the current working directory.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment