cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl on Nuceus RTOS

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 4 Nov 2011 20:08:42 +0100 (CET)

On Thu, 3 Nov 2011, Matthieu Labour wrote:

> However I still feel the need to get some feedback from the community
> on libcurl for Nucleus RTOS -- actually MTK SDK (MMI -- plutoMMI -- / MTK
> chipsets) --
>
> Has it been done before ?

I haven't seen anyone mention it before at least and docs/INSTALL doesn't
mention it.

> What is the best way to do it ? Where to start ? Where most likely will be
> the difficulties?

The basic idea is to create a lib/config-nucleus.h file. Base it on one of the
existing lib/config-*.h ones. Then you make sure lib/setup.h includes that
file when you build for your platform.

Build all lib/*.c files.

If your OS doesn't provide a complete POSIX API for the funtions that libcurl
uses you might need to provide some wrapper functions that do.

docs/INTERNALS may offer some additional insights in how things work, which
might help if you run into problems.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-11-04