Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: libcurl for QNX 7.0.0 ( ARM64 )

From: Sergei Nikulov via curl-library <curl-library_at_cool.haxx.se>
Date: Mon, 19 Oct 2020 16:01:21 +0300

On Mon, Oct 19, 2020 at 2:31 PM Thomas Barth <Thomas.Barth_at_sioux.eu> wrote:
>
> I have attached the cmake file.
> This is a cmake file which we use in other projects.

Have you ever spend a short time to review CMake documentation related
to cross-compilation?

I'm unable to find two variables suggested in the documentation
CMAKE_<LANG>_COMPILER_TARGET

set(arch ntoaarch64) # here should be target arch for cross
set(CMAKE_C_COMPILER_TARGET ${arch})
set(CMAKE_CXX_COMPILER_TARGET ${arch})



>
> But I do not need no more help.
> I do not try to cross compile the sources for QNX any more because QNX already offers curl.
> -----Original Message-----
> From: Sergei Nikulov <sergey.nikulov_at_gmail.com>
> Sent: Montag, 19. Oktober 2020 12:24
> To: libcurl development <curl-library_at_cool.haxx.se>
> Cc: Thomas Barth <Thomas.Barth_at_sioux.eu>
> Subject: Re: libcurl for QNX 7.0.0 ( ARM64 )
>
> On Fri, Oct 16, 2020 at 3:18 PM Thomas Barth via curl-library <curl-library_at_cool.haxx.se> wrote:
> >
> > Hello everybody,
> >
> > first of all I want to explain my main task.
> >
> > I want to develop an OpenApi client for the OS QNX 7.0.0 which runs on a ARM64 (aarch64le) hardware.
> > For this task I need the curl library for QNX. And here starts the .
> >
> > 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.
> >
> > In the attachment file I added the GUI output of the CMake- GUI It
> > shows a lot of "not found" and "failed!" entries.
> >
> > Is anybody out there who had done anything equal or tried anything
> > equal and who can help me.
> >
>
> Could you please share your toolchain file?
> According to the logs you've provided it looks like you using an incorrect toolchain environment for cross-compilation.
> Here the example
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcmake.org%2Fcmake%2Fhelp%2Flatest%2Fmanual%2Fcmake-toolchains.7.html%23cross-compiling-for-qnx&amp;data=04%7C01%7C%7C33af985edbcf4e786b1e08d87419249b%7Cd943c27450b54a448dd8fadde63efa3c%7C0%7C0%7C637386999206869637%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=XtxoCim6iEcuSZMgoT78xaScOsYSGqdgdARBvntN2H8%3D&amp;reserved=0
>
> >
> > Mit freundlichen Grüßen / With kind regards
> >
> > Thomas Barth
> > Software developer
> > -------------------------------------------------------------------
> > Unsubscribe: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcool.haxx.se%2Flist%2Flistinfo%2Fcurl-library&amp;data=04%7C01%7C%7C33af985edbcf4e786b1e08d87419249b%7Cd943c27450b54a448dd8fadde63efa3c%7C0%7C0%7C637386999206869637%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=Losfa9Fpc92Wo3ZGj2ojmYGgCu1RCwJvn1jx7r1HzbA%3D&amp;reserved=0
> > Etiquette: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcurl.haxx.se%2Fmail%2Fetiquette.html&amp;data=04%7C01%7C%7C33af985edbcf4e786b1e08d87419249b%7Cd943c27450b54a448dd8fadde63efa3c%7C0%7C0%7C637386999206869637%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=LfnNDVpcqXNZUQKNB2tnbqBKzG5aRkHv%2FJFdKtoGJqk%3D&amp;reserved=0
>
>
>
> --
> Best Regards,
> Sergei Nikulov



-- 
Best Regards,
Sergei Nikulov
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2020-10-19