Created
May 5, 2015 01:03
-
-
Save CodeZombie/c186175f174daeed21a6 to your computer and use it in GitHub Desktop.
Compiling mongoose win32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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