cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Lib Size Usage in Embedded Systems

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 5 Jul 2004 13:20:50 +0200 (CEST)

On Mon, 5 Jul 2004, Sriram Venkat wrote:

> I want to reduce the size of the libcurl shared lib as far as possible.
> I did put #define HTTP_ONLY in setup.h

Use the 'configure --disable-XXXX' options to disable specific protocols.

> But, the size of the shared lib is just over 500KB which is unacceptable.

You shouuld "strip" the library too.

> Is there any way we can reduce the size to below 200 KB or so.

If the above methods aren't enough, your last option is to disable features
you don't want by editing source code.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-07-05