curl-library
Re: Sizing down curl
Date: Sat, 18 Aug 2001 06:18:48 +0400
Hi Constantine,
At 14:40 17-08-2001 -0400, Constantine Daicos wrote:
>>>>
I'm an amateur c programmer that is experimenting with libcurl. I have
successfully compiled and run simple.c under windows, and was wondering if
someone could give me a list of only the *essential* files from the library
that are required to execute the command:
curl "wwwDOTanysitehereDOTcom"
<<<<
You will need the files in the include/curl and lib/ directories. In the
lib directory, build the makefile.vc6 and it will create a .lib.
>>>>
The library is somewhat overwhelming, I'd like my first program using curl
to be simple and small, and would therefore like to compile the smallest
possible .dll.
<<<<
You cannot build a dll that supports for http only unless you modify the
libcurl source code yourself. If you do not use HTTPS, you don't have to
build the library with SSL support.
>>>>
Any help on how to create a standalone executable (not requiring a seperate
dll at all) that performs the above would also be helpful.
<<<<
You have to add include/curl to your include path and link your program
with the lib/libcurl.lib file to get a standalone executable.
Regards,
-sm
Received on 2001-08-18