On Fri, Feb 22, 2013 at 12:15 PM, Andrew Clarkin <[email protected]> wrote:
> simple.c compiles to a 2.5 Mb file, even when I alter the makefile > options to set SSL, SSH2, ZLIB and so on to 0. Is this normal and is > there anything I can do to reduce the size of the final executable? I think maybe worked this out. I downloaded the source code package and ran the makefile without any options specified and the resultant libcurl.a was a bit smaller than that which comes with the libcurl package. I then copied that to curl\lib and re-compiled the sample files and they cam out at around 300 kb. (simple.c doesn't require ssl or anything else.) Please correct me if I've done the wrong thing, but I think I have sorted my problems. Thanks Andrew ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
