cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Lib Size Usage in Embedded Systems

From: Guenter Knauf <eflash_at_gmx.net>
Date: Mon, 5 Jul 2004 13:25:33 +0200

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

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

> I want to use libcurl only for HTTP communication.

> Is there any way we can reduce the size to below 200 KB or so.
since mine is only ~140 kb I guess you have debug symbols in...
what OS you are on, which compiler?
if gcc then try to compile with -s, or just do a 'strip curl' to remove debug infos...

Guenter.
Received on 2004-07-05