cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Integrating with QNX

From: Sidde Gowda <sgowda_at_stoke.com>
Date: Tue, 13 Mar 2012 17:04:02 -0700

Thanks Daniel

I am planning to build libcurl as one time library and use in
applications. If I have to use HTTP service from the libcurl, what is
the entry point for application?

Is it enough if application provides just the URL info without
maintaining any contexts?

Regards
Sidde

On 3/6/2012 2:11 PM, Daniel Stenberg wrote:
> On Mon, 5 Mar 2012, Sidde Gowda wrote:
>
>> I am planning port curl to QNX platform. Is it possible to throw some steps
>> to start with?
> Cool! I'll welcome a QNX port!
>
> You really mean curl the tool or just libcurl the library?
>
> I assume you can't run configure for your target? If not, you're probably
> better off running configure first on a *nix system somewhere and then you
> rename the generated src/curl_config.h and lib/curl_config.h files to
> src/config-qnx.h and lib/config-qnx.h and update them according to how your OS
> actually works and what your environment provides.
>
> If there are any functions that libcurl requires that QNX doesn't provide,
> then writing your own replacements and include them in a portability layer is
> probably a good idea. libcurl will assume POSIX similarities for most of the
> APIs it uses.
>
> Then you edit lib/setup.h to include "config-qnx.h" properly if you build for
> QNX. You should be able to use the existing vxworks rules as a template.
>
> To finalize, you add a master rule in Makefile.dist that run make in both lib
> and src properly.
>
> If you run into any problems with this I recommend you ask specific questions
> on the curl-library list.
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-03-14