Skip to content

Instantly share code, notes, and snippets.

@CodeZombie
Created May 5, 2015 01:03
Show Gist options
  • Save CodeZombie/c186175f174daeed21a6 to your computer and use it in GitHub Desktop.
Save CodeZombie/c186175f174daeed21a6 to your computer and use it in GitHub Desktop.
Compiling mongoose win32
follow this guide for statically linked library compilation:
http://www.adp-gmbh.ch/cpp/gcc/create_lib.html
on the final step where you compile main.c, add "-lws2_32" to the end of the line.
so, "gcc -static main.c -L. -lmongoose -o output -lws2_32"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment