curl-library
Re: curl-lib for embedded systems ??
Date: Mon, 11 Aug 2003 17:40:26 -0700
On Mon, Aug 11, 2003 at 06:55:16PM -0400, Harit Patel wrote:
> Hello everyone,
>
> I am new to this forum and I wanted to ask a fundamental question before
> proceeding to use the library.
>
> I need to use some simple browser functions (HTTP + SSL) to request HTML
> pages and to POST to a webserver. I need to do this from an embedded system
> and hence the code needs to be small. I tried to use libwww and although I
> can get the work done, the binary code is still of the order of 4 MB which
> is too big for my system. (a 233Mhz Strong ARM CPU with Linux embedded)
>
> I was now wondering if anyone could help me understand the way this library
> would function predominantly with respect to the binary size of the final
> code. I will be using BASIC calls like GET, POST etc and a little bit in
> COOKIE handling and SSL. Given these requirements, if someone can give me an
> idea of how BIG the final code would be that would be great.
There's a StrongARM binary tarball for verion 7.10.5 on the curl
download page. The libcurl.so file is 134 KiB long, and that's for an
pretty full-featured build, with just about everything but SSL support.
curl uses OpenSSL which is going to be much larger than libcurl unless
you build yourself a stripped-down version.
>>> Dan
> ALso what is the size of the code when you just initialise the library and
> compile it?
Are you talking about statically linking libcurl to your Hello World app?
You'd probably be pulling in pretty well the entire library doing that, since
curl is going to depend on the protocol support code for all the protocols it
knows.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has moved ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01Received on 2003-08-12