开发者

Compiling a project with libcurl in cygwin

开发者 https://www.devze.com 2023-02-10 22:47 出处:网络
I am not entirely sure how to compile a file with cygwin so it links with libcurl properly. I installed the libcurl library with cygwin\'s package instal开发者_开发技巧ler so I don\'t think there\'s a

I am not entirely sure how to compile a file with cygwin so it links with libcurl properly. I installed the libcurl library with cygwin's package instal开发者_开发技巧ler so I don't think there's anything wrong with that I'm just not sure what the syntax for the command will be. Any help is appreciated, thanks!


Something like gcc -Wall -o curluser curluser.c -lcurl should work. Similar to linking math library with -lm.

Or, what did you try so far and what happened and what did you expect to happen?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号