cURL / Mailing Lists / curl-users / Single Mail

curl-users

Win32 and Statically compiled libcurl

From: Danny Beaudoin <beaudoin_danny_at_hotmail.com>
Date: Wed, 16 Mar 2005 22:00:31 -0500

Hi!
I'm on Windows and I want to statically compile libcurl in a C program.
Using it in the program is no problem to me but I don't know what to do when
it comes to compiling it.

I did an #include <curl/curl.h>
I downloaded curl-7.13.1.tar.gz and extracted it. Now as there are
makefiles, I should have to compile it alone, right? But on Windows, what am
I suppose to do?
Also, just including the header file mustn't be enough to have libcurl
working? Therefore I need to give the compiler or linker some option as some
have told me and I would like more info on that.

I have already looked on the site for these infos and talked on IRC a bit
with C coders but I could not get answers. I propose to make these more
easily accessible if possible. I did however find informations for unix
platforms but in my case I would like to complete my program on Windows and
I think that it would be great if it was easier for Windows users to use
libcurl.

Thanks!
Received on 2005-03-17