cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to reduce the Size of libcurl?

From: John Pattenden <john_at_screentime.com>
Date: Thu, 18 May 2006 12:43:54 -0400

Thank you michael, that works like a charm, I knew it was something
obvious, but I don't spend too much time living on the command line..

John Pattenden

On May 18, 2006, at 12:22 PM, Michael Wallner wrote:

> John Pattenden wrote:
>
>> I am on Mac OS X and the libcurl that comes along with 10.4 is
>> 200kb, however I cannot build one myself that is less than about
>> 900kb, I assume I need to do one or more of the following, turn
>> off debug, strip the code, not have libc included
>
>> I sent all these flags ./configure --without-ssl --disable-debug
>> -- disable-ftp --disable-telnet --disable-manual --disable-ipv6 --
>> disable-verbose --disable-cookies --disable-dict --disable-sspi
>> and still got a 1mb compile,
>> What am I missing here?
>
> You don't need to disable all that stuff, just run `make install-
> strip`
> instead of `make install`, or have a look at `man strip`.
>
> Regards,
> --
> Michael
>
Received on 2006-05-18