curl-library
Re: How to reduce the Size of libcurl?
From: Michael Wallner <mike_at_iworks.at>
Date: Thu, 18 May 2006 18:22:09 +0200
Date: Thu, 18 May 2006 18:22:09 +0200
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,
-- MichaelReceived on 2006-05-18