cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Using libcurl on top of lwip on POSIX embedded platform (take 2)

From: Mason <mpeg.blue_at_free.fr>
Date: Tue, 20 Mar 2012 16:57:08 +0100

Dan Fandrich wrote:

> Mason wrote:
>
>> By the way, is there a way to make libcurl even smaller? :-)
>
> In case you haven't found it by now, there are a number of tricks
> documented in the INSTALL file.

http://curl.haxx.se/docs/install.html

REDUCING SIZE
=============
   There are a number of configure options that can be used to reduce the
   size of libcurl for embedded applications where binary size is an
   important factor. [...]

   Using these techniques it is possible to create a basic HTTP-only shared
   libcurl library for i386 Linux platforms that is only 101 KiB in size, and
   an FTP-only library that is 105 KiB in size (as of libcurl version 7.21.5,
   using gcc 4.4.3).

My static HTTP-only libcurl (SH-4) is much larger than 100 KB.
I'll report the exact size after I've disabled verbose strings.

-- 
Regards.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-03-20