curl-users
Re: Integrating with QNX
Date: Tue, 06 Mar 2012 15:41:57 -0800
Hi Daniel
Thanks for the reply. Yes, you are correct. I can not run configure on
the target. Basically, I need HTTP with TLS support for my new project.
I noticed that QNX already supports HTTP and OpenSSL. I can use these
two to make HTTPS transport service right?
This will avoid porting of the the whole cURL library I guess. Correct me.
Regards
Sidde
On 03/06/2012 02: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-07