curl-library
Re: Porting libcurl to a small, embedded system?
Date: Wed, 14 Jul 2010 17:45:28 +0200 (CEST)
On Wed, 14 Jul 2010, curl-library_at_Antronics.co.uk wrote:
> I work with small, microcontroller-based embedded systems (eg, ARM
> Cortex-M3).
That's just an ARM core, not a full system! ;-) You should in fact even be
able to run a full fledged linux with such a core if you'd wanted to and have
enough memory.
> I'm wondering if it might be practical to port libcurl to such a system?
> Possibly with no OS ("bare metal"); probably using a 3rd-party TCP/IP stack.
>
> Is there a "porting guide"?
The closest to such a thing is docs/INTERNALS combined with docs/INSTALL.
In short, if you have a somewhat POSIX-compliant tcp/ip stack and you have
other fundamental libc functions such as malloc and a few other file
descriptor-related functions you should be able to do it. I think.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2010-07-14