From: Daniel Stenberg [mailto:[email protected]] Sent: 14 July 2010 16:45 To: [email protected]; libcurl development Subject: Re: Porting libcurl to a small, embedded system?
>On Wed, 14 Jul 2010, [email protected] wrote: > >> I work with small, microcontroller-based embedded systems (eg, ARM >> Cortex-M3). > > That's just an ARM core, not a full system! ;-) Pedant, eh?! ;-) I did say microcontroller-*based* - so the Cortex-M3 is the core on which the system is *based8 >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. Actually, Cortex-M3 is not well-suited for that - one of the larger ARM cores would be more appropriate. >> 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. Thanks - I'll look into it... ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
