On Fri, 16 Oct 2020, Thomas Barth via curl-library wrote:

For this task I need the curl library for QNX. And here starts the .

I've been told many times that curl comes with QNX or has been ported to QNX before. I presume that you already looked for that and you didn't find any existing reasonable solution?

I develop on a Windows 10 host with QNX Momentics and CMake- GUI. For the first goal to build curl library for QNX I use CMake- GUI. I created a little make configuration file for the QNX environment which I use for the cross-compiling with the CMake- GUI.

I wouldn't bother too much about getting cmake to work for this.

Whenever I work on a port to a new (RT)OS, I do this:

 1. create lib/config-[os].h
 2. edit include/curl/system.h to do "right" for the OS
 3. build *all* C source files under lib/
 4. edit all problems until everything builds fine
 5. celebrate

I don't know how you'd hook this process into cmake.

--

 / daniel.haxx.se | Commercial curl support up to 24x7 is available!
                  | Private help, bug fixes, support, ports, new features
                  | https://www.wolfssl.com/contact/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to